Class: Sketchup::Classifications
- Inherits:
-
Object
- Object
- Sketchup::Classifications
- Includes:
- Enumerable
- Defined in:
- lib/sketchup-api-stubs/stubs/Sketchup/Classifications.rb
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.
32 33 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Classifications.rb', line 32 def [](index_or_name) end |
#each {|schema| ... } ⇒ Object
The each method is used to iterate through loaded classification schemas.
48 49 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Classifications.rb', line 48 def each end |
#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.
60 61 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Classifications.rb', line 60 def keys end |
#length ⇒ Integer
The #length method returns the number of loaded classification schemas.
73 74 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Classifications.rb', line 73 def length end |
#load_schema(file) ⇒ Object
The load_schema method is used to load a classification schema into a model.
90 91 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Classifications.rb', line 90 def load_schema(file) end |
#size ⇒ Integer
The #size method returns the number of loaded classification schemas.
103 104 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Classifications.rb', line 103 def size end |
#unload_schema(schema_name) ⇒ Object
The unload_schema method is used to unload a classification schema that was previously loaded into a model.
119 120 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Classifications.rb', line 119 def unload_schema(schema_name) end |