References an object with classification information. Each SUClassificationInfoRef contains the names of the schemas and the schema types, and the types attributes. See SUClassificationAttributeRef for details on the type attributes.
More...
#include <SketchUpAPI/model/classification_info.h>
|
(Note that these are not member functions.)
|
enum SUResult | SUClassificationInfoRelease (SUClassificationInfoRef *classification_info) |
| Releases the classification info. Classification info objects are created from component instance using SUComponentInstanceCreateClassificationInfo(), and must be released using this function. This function also invalidates the given SUClassificationInfoRef. More...
|
|
enum SUResult | SUClassificationInfoGetNumSchemas (SUClassificationInfoRef classification_info, size_t *count) |
| Retrieves the number of schemas that have been applied to the component instance. More...
|
|
enum SUResult | SUClassificationInfoGetSchemaName (SUClassificationInfoRef classification_info, size_t index, SUStringRef *schema_name) |
| Retrieves the schema name for the classification at the given index. More...
|
|
enum SUResult | SUClassificationInfoGetSchemaType (SUClassificationInfoRef classification_info, size_t index, SUStringRef *schema_type) |
| Retrieves the schema type for the classification at the given index. More...
|
|
enum SUResult | SUClassificationInfoGetSchemaAttribute (SUClassificationInfoRef classification_info, size_t index, SUClassificationAttributeRef *attribute) |
| Retrieves the classification attribute for the classification at the given index. More...
|
|
enum SUResult | SUClassificationInfoGetSchemaAttributeByPath (SUClassificationInfoRef classification_info, SUStringRef path, SUClassificationAttributeRef *attribute) |
| Retrieves the classification attribute with the given path. More...
|
|
References an object with classification information. Each SUClassificationInfoRef contains the names of the schemas and the schema types, and the types attributes. See SUClassificationAttributeRef for details on the type attributes.
Retrieves the number of schemas that have been applied to the component instance.
- Since
- SketchUp 2017, API 5.0
- Parameters
-
[in] | classification_info | The classification info object. |
[out] | count | The number of classifications. |
- Returns
-
Retrieves the classification attribute for the classification at the given index.
- Parameters
-
[in] | classification_info | The classification info object. |
[in] | index | The classification index. |
[out] | attribute | The attribute retrieved. |
- Returns
-
Retrieves the classification attribute with the given path.
- Parameters
-
[in] | classification_info | The classification info object. |
[in] | path | The path of the classification attribute to get. |
[out] | attribute | The attribute retrieved. |
- Returns
-
Retrieves the schema name for the classification at the given index.
- Parameters
-
[in] | classification_info | The classification info object. |
[in] | index | The classification index. |
[out] | schema_name | The name of the schema. |
- Returns
-
Retrieves the schema type for the classification at the given index.
- Parameters
-
[in] | classification_info | The classification info object. |
[in] | index | The classification index. |
[out] | schema_type | The applied type from the schema. |
- Returns
-
Releases the classification info. Classification info objects are created from component instance using SUComponentInstanceCreateClassificationInfo(), and must be released using this function. This function also invalidates the given SUClassificationInfoRef.
- Since
- SketchUp 2017, API 5.0
- Parameters
-
[in,out] | classification_info | The classification info object. |
- Returns
-
The documentation for this struct was generated from the following files: