Class: Sketchup::Classifications
Relationships | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
Enumerable
|
|
Inherits: | Object |
Overview
The Classifications class is a container/manager for all classifications in a model.
Instance Method Summary
-
#[](index_or_name) ⇒ Object
The [] method is used to get a classification schema by name or index.
-
#each {|schema| ... } ⇒ nil
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| ... } ⇒ nil
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.