Where is this "Compact Element ID" information stored?
In Archicad it is found in a Zone Settings under Categories and Settings -> ID & Categories.
In the same group I see the following data (im using the CHE Version):
Element Classification: Room
ID-Nr. : XXX (This is the Information I want)
Renovation-Status (Umbau-Status): XXXX
Display in Renovation-Filter (Anzeigen auf Umbau-Filter): XXX
I have looked at the documentation for: API_ElemCategoryID, when I use the suggested code* I get the following 6 key value pairs:
+("Anzeigen auf Umbau-Filter", "Alle relevanten Filter") -> API_ElemCategory_RenovationFilter
+("Element-Klassifizierung", "Raum") -> API_ElemCategory_ElementClassification
+("Klassifizierung nach DIN 277", "") -> API_ElemCategory_BRI:
APIERR_BADPARS+("Lage", "") -> API_ElemCategory_Position:
APIERR_BADPARS+("Tragende Funktion", "") -> API_ElemCategory_StructuralFunction
+("Umbau-Status", "Bestand") -> API_ElemCategory_RenovationStatus
I am getting an APIERR_BADPARS on two of them. Is the API_ElemCategory_BRI supposed to be the Compact Element ID?
Why am I getting the error?
*link to the code:
http://archicadapi.graphisoft.com/documentation/acapi_element_getcategoryvalue?s=API_ElemCategory_BR...