Class: Sketchup::Classifications
- Inherits:
-
Object
- Object
- Sketchup::Classifications
- Includes:
- Enumerable
Overview
The Classifications class is a container/manager for all classifications in a model.
Instance Method Summary # collapse
-
#[](index_or_name) ⇒ Object
The [] method is used to get a classification schema by name or index.
-
#each {|schema| ... } ⇒ Object
The each method is used to iterate through loaded classification schemas.
-
#keys ⇒ Object
The keys method is used to get a list of keys in the Classifications class, which are the same as the names of the schemas.
-
#length ⇒ Integer
The #length method returns the number of loaded classification schemas.
-
#load_schema(file) ⇒ Object
The load_schema method is used to load a classification schema into a model.
-
#size ⇒ Integer
The #size method returns the number of loaded classification schemas.
-
#unload_schema(schema_name) ⇒ Object
The unload_schema method is used to unload a classification schema that was previously loaded into a model.
Instance Method Details
↑ #[](index_or_name) ⇒ Object
The [] method is used to get a classification schema by name or index.
↑ #each {|schema| ... } ⇒ Object
The each method is used to iterate through loaded classification schemas.
↑ #keys ⇒ Object
The keys method is used to get a list of keys in the Classifications class, which are the same as the names of the schemas.
↑ #load_schema(file) ⇒ Object
The load_schema method is used to load a classification schema into a model.
↑ #unload_schema(schema_name) ⇒ Object
The unload_schema method is used to unload a classification schema that was previously loaded into a model.