Пример #1
0
        internal XbimSlab(XbimDocument document, XbimSlabType xbimSlabType)
            : base(document)
        {
            BaseInit(xbimSlabType);
            _ifcBuildingElement.SetMaterialLayerSetUsage(xbimSlabType.IfcMaterialLayerSet, IfcLayerSetDirectionEnum.AXIS1, IfcDirectionSenseEnum.POSITIVE, 0);

        }
Пример #2
0
        internal XbimSlab(XbimDocument document, XbimSlabType xbimSlabType, XbimLayerSetDirectionEnum MaterialLayersDirection, XbimDirectionSenseEnum MaterialLayersDirectionSense, float MaterialLayersOffsett)
            : base(document)
        {
            BaseInit(xbimSlabType);
            SetMaterialLayerSetUsage(MaterialLayersDirection, MaterialLayersDirectionSense, MaterialLayersOffsett);

        }
Пример #3
0
 private void BaseInit(XbimSlabType xbimSlabType)
 {
     _document.Slabs.Add(this);
     _ifcBuildingElement = _document.Model.Instances.New<IfcSlab>();
     _ifcBuildingElement.SetDefiningType(xbimSlabType.IfcTypeProduct, _document.Model);
 }