Remove IFC property of an element
GSErrCode ACAPI_Element_RemoveIFCProperty ( const API_Guid& guid_Element, const API_IFCProperty& property );
- [in] GUID of the element
- [in] IFC property to remove.
- The function has completed with success.
- Invalid value passed in the
propertyis not correct.
- IFC add-on is not present.
For other common API errors see the API Errors document.
If a property with the given property name and propertyset name exists for the element, this function will remove it.
If a property is not editable on the user interface, cannot be removed.
For a successful removal, the
property.head must be set correctly explained in the API_IFCPropertyHead structure.
The model may contain GDL objects with APPLICATION_QUERYs which display IFC data. It is the developer’s responsability to refresh the views after modifying IFC data through API functions. See: ACAPI_Automation – APIDo_RebuildID function.
- Version: API 16 or later
- Header: ACAPinc.h