Article | 70002242 |
Type | Wish |
Product | vdIFC |
Version | 1001 |
Date Added | 7/18/2022 12:00:00 AM |
Fixed | 10.1002.0.1 (7/19/2022 12:00:00 AM) |
Submitted by | Yannis Makarounis |
Summary
I wish that the Product object could also have some ifcElement properties like Tag and ObjectType
Solution
In version 1002 we added these two properties ("Tag" , "ObjectType" ) like below
vdIFCProduct.PropertiesGroup("IFC_ELEMENT_PROPS") collection
NOTE: these properties are also exported to IFC object object types when saving as IFC format.
vdIFCProduct obj; vdIFCProperties ifcprops = obj.PropertiesGroup.FindName("IFC_ELEMENT_PROPS"); if (ifcprops == null) return; object value = ifcprops.Properties["Tag"]; if(!(value is string)) return; return (string)value;