70002040 How can I set some properties to the IFC format

Article 70002040
Type HowTo
Product Engine
Version 8
Date Added 8/31/2021 12:00:00 AM
Fixed 9.9002.0.7 (9/9/2021 12:00:00 AM)
Submitted by josef gargitter

Summary

How can I set some properties to the IFC format

Solution

You can set some properties like below

//set some properties that will be exported to the ifc file format
vdIFCProperties vdprops = mywall.PropertiesGroup.Add("VectorDraw Wall Properties");
vdprops.Properties["Wall_Length"] = 10;
vdprops.Properties["Wall_Width"] = 0.4;
vdprops.Properties["Wall_Height"] = 3.0;

And also
vdIFCProperties vdprops = myobj.PropertiesGroup.Add("Pset_FanTypeCommon");
vdprops.Properties["CapacityControlType"] = “BLADEPITCHANGLE”;

Send comments on this topic.