Exemplo n.º 1
0
 internal XbimRoof(XbimDocument document, XbimRoofTypeEnum roofType)
     : base(document)
 {
     _document.Roofs.Add(this);
     _ifcBuildingElement = _document.Model.Instances.New<IfcRoof>();
     IfcRoof.ShapeType = GetIfcRoofTypeEnum(roofType);
 }
Exemplo n.º 2
0
 private IfcRoofTypeEnum GetIfcRoofTypeEnum(XbimRoofTypeEnum roofType)
 {
     return (IfcRoofTypeEnum)Enum.Parse(typeof(IfcRoofTypeEnum), Enum.GetName(typeof(XbimRoofTypeEnum), roofType));
 }