SketchUp C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Related Functions
SUClassificationAttributeRef Struct Reference

References attribute data about a classified component. More...

#include <SketchUpAPI/model/classification_attribute.h>

Related Functions

(Note that these are not member functions.)

enum SUResult SUClassificationAttributeGetValue (SUClassificationAttributeRef attribute, SUTypedValueRef *value)
 Retrieves the value of the attribute. More...
 
enum SUResult SUClassificationAttributeGetPath (SUClassificationAttributeRef attribute, SUStringRef *path)
 Retrieves the path to the attribute. More...
 
enum SUResult SUClassificationAttributeGetNumChildren (SUClassificationAttributeRef attribute, size_t *count)
 Retrieves the number of children setting of the attribute. More...
 
enum SUResult SUClassificationAttributeGetChild (SUClassificationAttributeRef attribute, size_t index, SUClassificationAttributeRef *child)
 Retrieves the child attribute at the given index. More...
 

Detailed Description

References attribute data about a classified component.

Friends And Related Function Documentation

enum SUResult SUClassificationAttributeGetChild ( SUClassificationAttributeRef  attribute,
size_t  index,
SUClassificationAttributeRef child 
)
related

Retrieves the child attribute at the given index.

Since
SketchUp 2017, API 5.0
Parameters
[in]attributeThe classification attribute object.
[in]indexThe index of the child attribute to get.
[out]childThe child attribute retrieved.
Returns
enum SUResult SUClassificationAttributeGetNumChildren ( SUClassificationAttributeRef  attribute,
size_t *  count 
)
related

Retrieves the number of children setting of the attribute.

Since
SketchUp 2017, API 5.0
Parameters
[in]attributeThe classification attribute object.
[out]countThe number of children this attribute contains.
Returns
enum SUResult SUClassificationAttributeGetPath ( SUClassificationAttributeRef  attribute,
SUStringRef path 
)
related

Retrieves the path to the attribute.

Since
SketchUp 2017, API 5.0
Parameters
[in]attributeThe classification attribute object.
[out]pathThe attribute name as it should be displayed to the user.
Returns
enum SUResult SUClassificationAttributeGetValue ( SUClassificationAttributeRef  attribute,
SUTypedValueRef value 
)
related

Retrieves the value of the attribute.

Since
SketchUp 2017, API 5.0
Parameters
[in]attributeThe classification attribute object.
[out]valueThe value of the attribute.
Returns

The documentation for this struct was generated from the following files: