2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations
2023-10-17 03:08 PM
Solved! Go to Solution.
2023-10-17 08:10 PM
On sections there is a special element type called API_SectElemType. This is the section representation of an elem. You can get the original elem guid by accessing the parameters of the section element. Something like this:
API_Element element = {};
element.header.guid = sectionElementGuid;
ACAPI_Element_Get (&element);
APIGuid originalElemGuid = element.sectElem.parentGuid;
// now the originalElemGuid contains the real element guid
2023-10-17 08:10 PM
On sections there is a special element type called API_SectElemType. This is the section representation of an elem. You can get the original elem guid by accessing the parameters of the section element. Something like this:
API_Element element = {};
element.header.guid = sectionElementGuid;
ACAPI_Element_Get (&element);
APIGuid originalElemGuid = element.sectElem.parentGuid;
// now the originalElemGuid contains the real element guid
2023-10-17 08:26 PM
Great. Thank you.