private void BaseInit(XbimRailingType type) { _document.Railings.Add(this); _ifcBuildingElement = _document.Model.Instances.New<IfcRailing>(); _ifcBuildingElement.SetDefiningType(type.IfcTypeProduct, _document.Model); }
internal XbimRailing(XbimDocument document, XbimRailingType type) : base(document) { BaseInit(type); }