private void BaseInit(XbimWindowStyle type) { _document.Windows.Add(this); _ifcBuildingElement = _document.Model.Instances.New<IfcWindow>(); _ifcBuildingElement.SetDefiningType(type.IfcTypeProduct, _document.Model); }
internal XbimWindow(XbimDocument document, XbimWindowStyle type) : base(document) { BaseInit(type); }