BIM VILLAGE

Version 2.5.1

SampleCreateIfcOrganization

Overview

This programming manual in C# offers a practical demonstration of how to create an instance of the IfcOrganization class within a model.

Sample code

For example:

Name Value
Name BIM Village
Description Application developper
ID 123
var app = new Beaver.BcadApplication();
var doc = app.ActiveDocument;
if (doc == null)
    doc = app.Documents.Add();
var stp = doc.STEPDocument;
var IfcOrganization = stp.Instnaces.CreateInstance("IfcOrganization"); 
IfcOrganization.Attributes.AttributeAsStr("id").Value = "123";
IfcOrganization.Attributes.AttributeAsStr("name").Value = "BIM Village";
IfcOrganization.Attributes.AttributeAsStr("description").Value = "Application developper";

© 2019 - 2022 BIM VILLAGE.