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

Used to manage a Classifications object. More...

#include <SketchUpAPI/model/classifications.h>

Related Functions

(Note that these are not member functions.)

enum SUResult SUClassificationsLoadSchema (SUClassificationsRef classifications, const char *schema_file_name)
 Loads a schema into a classifications object. More...
 
enum SUResult SUClassificationsGetSchema (SUClassificationsRef classifications, const char *schema_name, SUSchemaRef *schema_ref)
 Gets a schema from a classifications object. More...
 
enum SUResult SUClassificationsGetNumSchemas (SUClassificationsRef classifications, size_t *num_schemas)
 Gets the number of schemata from a classifications object. More...
 
enum SUResult SUClassificationsGetSchemas (SUClassificationsRef classifications, size_t len, SUSchemaRef schemas[], size_t *count)
 Retrieves the schemas in the classifications object. More...
 

Detailed Description

Used to manage a Classifications object.

Friends And Related Function Documentation

enum SUResult SUClassificationsGetNumSchemas ( SUClassificationsRef  classifications,
size_t *  num_schemas 
)
related

Gets the number of schemata from a classifications object.

Since
SketchUp 2022.0, API 10.0
Parameters
[in]classificationsThe classifications object.
[out]num_schemasThe number of schemas in the classifications object.
Returns
enum SUResult SUClassificationsGetSchema ( SUClassificationsRef  classifications,
const char *  schema_name,
SUSchemaRef schema_ref 
)
related

Gets a schema from a classifications object.

Parameters
[in]classificationsThe classifications object.
[in]schema_nameThe name of the schema to get.
[out]schema_refThe schema retrieved.
Returns
enum SUResult SUClassificationsGetSchemas ( SUClassificationsRef  classifications,
size_t  len,
SUSchemaRef  schemas[],
size_t *  count 
)
related

Retrieves the schemas in the classifications object.

Since
SketchUp 2022.0, API 10.0
Parameters
[in]classificationsThe classifications object.
[in]lenThe number of schemas to retrieve.
[out]schemasThe schemas retrieved.
[out]countThe number of schemas retrieved.
Returns
enum SUResult SUClassificationsLoadSchema ( SUClassificationsRef  classifications,
const char *  schema_file_name 
)
related

Loads a schema into a classifications object.

Parameters
[in]classificationsThe classificationss object.
[in]schema_file_nameThe full path of the schema to load.
Returns

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