protected BbBoltAssembly(BbElement mainElement, BbElement attachedElement) : this() { MainElement = mainElement; AttachedElement = attachedElement; IfcRelConnectsElements = new IfcRelConnectsWithRealizingElements { GlobalId = IfcGloballyUniqueId.NewGuid(), OwnerHistory = BbHeaderSetting.Setting3D.IfcOwnerHistory, RelatingElement = MainElement.IfcObject as IfcElement, RelatedElement = AttachedElement.IfcObject as IfcElement, RealizingElements = new List<IfcElement> { _ifcElement }, }; }
protected BbBoltAssembly(BbElement mainElement, BbElement attachedElement) : this() { MainElement = mainElement; AttachedElement = attachedElement; IfcRelConnectsElements = new IfcRelConnectsWithRealizingElements { GlobalId = IfcGloballyUniqueId.NewGuid(), OwnerHistory = BbHeaderSetting.Setting3D.IfcOwnerHistory, RelatingElement = MainElement.IfcObject as IfcElement, RelatedElement = AttachedElement.IfcObject as IfcElement, RealizingElements = new List <IfcElement> { _ifcElement }, }; }
BbWeld(BbElement mainElement, BbElement attachedElement) { _ifcElement = new IfcFastener { GlobalId = IfcGloballyUniqueId.NewGuid(), OwnerHistory = BbHeaderSetting.Setting3D.IfcOwnerHistory, ObjectType = "Weld", }; MainElement = mainElement; AttachedElement = attachedElement; IfcRelConnectsElements = new IfcRelConnectsWithRealizingElements { GlobalId = IfcGloballyUniqueId.NewGuid(), OwnerHistory = BbHeaderSetting.Setting3D.IfcOwnerHistory, RelatingElement = MainElement.IfcObject as IfcElement, RelatedElement = AttachedElement.IfcObject as IfcElement, RealizingElements = new List<IfcElement> { _ifcElement }, }; }
BbWeld(BbElement mainElement, BbElement attachedElement) { _ifcElement = new IfcFastener { GlobalId = IfcGloballyUniqueId.NewGuid(), OwnerHistory = BbHeaderSetting.Setting3D.IfcOwnerHistory, ObjectType = "Weld", }; MainElement = mainElement; AttachedElement = attachedElement; IfcRelConnectsElements = new IfcRelConnectsWithRealizingElements { GlobalId = IfcGloballyUniqueId.NewGuid(), OwnerHistory = BbHeaderSetting.Setting3D.IfcOwnerHistory, RelatingElement = MainElement.IfcObject as IfcElement, RelatedElement = AttachedElement.IfcObject as IfcElement, RealizingElements = new List <IfcElement> { _ifcElement }, }; }