Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2021-01-29
01:09 PM
- last edited on
2021-09-14
01:34 PM
by
Noemi Balogh
GS::Array<API_PropertyDefinition> definitions2; if (ACAPI_Element_GetPropertyDefinitions(elementapi->header.guid, API_PropertyDefinitionFilter_UserDefined, definitions2) == NoError) { GS::Array<API_Property> properties; //next line very slow if (ACAPI_Element_GetPropertyValues(elementapi->header.guid, definitions, properties) == NoError) { UInt32 count = properties.GetSize(); for (UInt32 j = 0; j < properties.GetSize(); j++) { ..... .... } } }
ACAPI_Element_GetPropertyDefinitions(elementapi->header.guid, API_PropertyDefinitionFilter_UserDefined, definitions2)
ACAPI_Element_GetPropertyValues(elementapi->header.guid, definitions, properties)
2021-02-02 11:19 PM