Class: Sketchup::OptionsManager
- Inherits:
-
Object
- Object
- Sketchup::OptionsManager
- Includes:
- Enumerable
Overview
The OptionsManager class manages various kinds of OptionsProviders on a Model.
Instance Method Summary # collapse
-
#[](arg) ⇒ Object
The [] method is used to get an option provider by name or index.
-
#count ⇒ Object
Integer - number of OptionsProvider objects if successful.
-
#each {|opsprovider| ... } ⇒ Object
The each method is used to iterate through options providers.
-
#keys ⇒ Object
The keys method is used to get a list of keys in the OptionsManager.
- #length ⇒ Integer
-
#size ⇒ Integer
The #size method returns the number of OptionsProvider objects inside this OptionsManager.
Instance Method Details
↑ #[](index) ⇒ Object #[](name) ⇒ Object
The [] method is used to get an option provider by name or index.
For example, to get the UnitsOptions on the Model, you could use the command:
↑ #count ⇒ Object
↑ #each {|opsprovider| ... } ⇒ Object
The each method is used to iterate through options providers.
↑ #keys ⇒ Object
The keys method is used to get a list of keys in the OptionsManager.
↑ #size ⇒ Integer
The #size method returns the number of Sketchup::OptionsProvider objects inside this Sketchup::OptionsManager.