| Archicad 29 C++ API
    | 
Functions related to creating, accessing and manipulating Categories and the category-related data of elements. More...
| Classes | |
| struct | API_ElemCategory | 
| Element category structure.  More... | |
| struct | API_ElemCategoryValue | 
| Element category value structure.  More... | |
| Enumerations | |
| enum | API_ElemCategoryID { API_ElemCategory_Undefined = 0 , API_ElemCategory_StructuralFunction , API_ElemCategory_Position , API_ElemCategory_RenovationStatus , API_ElemCategory_RenovationFilter , API_ElemCategory_BRI } | 
| Type identifiers of element category types.  More... | |
| Functions | |
| GSErrCode | ACAPI_Category_GetElementCategories (GS::Array< API_ElemCategory > *categoryList) | 
| Returns the array of categories. | |
| GSErrCode | ACAPI_Category_GetElementCategoryValues (const API_ElemCategory *category, GS::Array< API_ElemCategoryValue > *categoryValueList) | 
| Returns the array of category values in the given category. | |
| GSErrCode | ACAPI_Category_GetCategoryValue (const API_Guid &elemGuid, const API_ElemCategory &elemCategory, API_ElemCategoryValue *elemCategoryValue) | 
| Returns the given category of the element. | |
| GSErrCode | ACAPI_Category_GetCategoryValueDefault (const API_ElemType &type, const API_ElemCategory &elemCategory, API_ElemCategoryValue *elemCategoryValue) | 
| Returns the given category of the element. | |
| GSErrCode | ACAPI_Category_SetCategoryValue (const API_Guid &elemGuid, const API_ElemCategory &elemCategory, const API_ElemCategoryValue &elemCategoryValue) | 
| Set the given category of an element. | |
| GSErrCode | ACAPI_Category_SetCategoryValueDefault (const API_ElemType &type, const API_ElemCategory &elemCategory, const API_ElemCategoryValue &elemCategoryValue) | 
| Set the given category of a default element. | |
Functions related to creating, accessing and manipulating Categories and the category-related data of elements.
| enum API_ElemCategoryID | 
Type identifiers of element category types.
| GSErrCode ACAPI_Category_GetCategoryValue | ( | const API_Guid & | elemGuid, | 
| const API_ElemCategory & | elemCategory, | ||
| API_ElemCategoryValue * | elemCategoryValue ) | 
Returns the given category of the element.
| elemGuid | [in] Guid of the element whose category you want to obtain. | 
| elemCategory | [in] The category identified by guid or categoryID. | 
| elemCategoryValue | [out] The category value information to be retrieved. | 
| GSErrCode ACAPI_Category_GetCategoryValueDefault | ( | const API_ElemType & | type, | 
| const API_ElemCategory & | elemCategory, | ||
| API_ElemCategoryValue * | elemCategoryValue ) | 
Returns the given category of the element.
| type | [in] Type of the default element whose category you want to obtain. | 
| elemCategory | [in] The category identified by guid or categoryID. | 
| elemCategoryValue | [out] The category value informations to be retrieved. | 
| GSErrCode ACAPI_Category_GetElementCategories | ( | GS::Array< API_ElemCategory > * | categoryList | ) | 
Returns the array of categories.
| categoryList | [out] The array of categories. | 
| GSErrCode ACAPI_Category_GetElementCategoryValues | ( | const API_ElemCategory * | category, | 
| GS::Array< API_ElemCategoryValue > * | categoryValueList ) | 
Returns the array of category values in the given category.
| category | [in] The category identified by guid or categoryID. | 
| categoryValueList | [out] The array of category values. | 
| GSErrCode ACAPI_Category_SetCategoryValue | ( | const API_Guid & | elemGuid, | 
| const API_ElemCategory & | elemCategory, | ||
| const API_ElemCategoryValue & | elemCategoryValue ) | 
Set the given category of an element.
| elemGuid | [in] GUID of the element. | 
| elemCategory | [in] The category identified by guid or categoryID. | 
| elemCategoryValue | [in] The category value informations to be set. | 
| GSErrCode ACAPI_Category_SetCategoryValueDefault | ( | const API_ElemType & | type, | 
| const API_ElemCategory & | elemCategory, | ||
| const API_ElemCategoryValue & | elemCategoryValue ) | 
Set the given category of a default element.
| type | [in] Type of the default element. | 
| elemCategory | [in] The category identified by guid or categoryID. | 
| elemCategoryValue | [in] The category value informations to be set. | 
API_ElemCategoryID. To get the list of category values in a given category use ACAPI_Category_GetElementCategoryValues. From version 26 the typeID and variationID parameters were merged into a single API_ElemType parameter.