SampleCreateIfcCartesianPoint_3
Overview
This programming manual in C# offers a practical demonstration of how to create an instance of the IfcCartesianPoint class within a model.
Sample code
For example:
Name | Value |
---|---|
X | 500 |
Y | 500 |
Z | 500 |
var app = new Beaver.BcadApplication();
var doc = app.ActiveDocument;
if (doc == null)
doc = app.Documents.Add();
var stp = doc.STEPDocument;
var IfcCartesianPoint = stp.Instnaces.CreateInstance("IfcCartesianPoint");
double []values={500.000000, 500.000000, 500.000000};
IfcCartesianPoint.Attributes.AttributeAsAggregate("coordinates").values = values;