Public Member Functions | |
def | execute (self, obj) |
def | getArea (self, obj) |
def | getShapes (self, obj) |
def | getSpaces (self, obj) |
def | onBeforeChange (self, obj, prop) |
def | onChanged (self, obj, prop) |
def | onDocumentRestored (self, obj) |
def | setProperties (self, obj) |
def | touchChildren (self, obj) |
Public Member Functions inherited from ArchIFC.IfcProduct | |
def | getIfcSchema (self) |
Public Member Functions inherited from ArchIFC.IfcRoot | |
def | addIfcAttribute (self, obj, attribute) |
def | addIfcAttributes (self, ifcTypeSchema, obj) |
def | addIfcAttributeValueExpressions (self, obj, attribute) |
def | getCanonicalisedIfcTypes (self) |
def | getIfcAttributeSchema (self, ifcTypeSchema, name) |
def | getIfcTypeSchema (self, IfcType) |
def | getObjIfcComplexAttribute (self, obj, attributeName) |
def | migrateDeprecatedAttributes (self, obj) |
def | purgeUnusedIfcAttributesFromPropertiesList (self, ifcTypeSchema, obj) |
def | setObjIfcAttributeValue (self, obj, attributeName, value) |
def | setObjIfcComplexAttributeValue (self, obj, attributeName, value) |
def | setupIfcAttributes (self, obj) |
def | setupIfcComplexAttributes (self, obj) |
Public Attributes | |
oldPlacement | |
shapecache | |
svgcache | |
Type | |
Member Function Documentation
◆ execute()
def ArchBuildingPart.BuildingPart.execute | ( | self, | |
obj | |||
) |
References ArchBuildingPart.BuildingPart.getArea(), and ArchBuildingPart.BuildingPart.getShapes().
Referenced by draftobjects.facebinder.Facebinder.addSubobjects(), PathScripts.PathDressupDogbone.ObjectDressup.boneStateList(), ArchSite.Compass.buildCoordinates(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.generateTags(), ArchPanel.PanelCut.getWires(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.PartDesign.Scripts.Spring.MySpring.onChanged(), Mod.PartDesign.Scripts.Epitrochoid.Epitrochoid.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.Parallelepiped.onChanged(), Mod.PartDesign.Scripts.DistanceBolt.DistanceBolt.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.BoxCylinder.onChanged(), PathScripts.PathStock.StockFromBase.onChanged(), PathScripts.PathStock.StockCreateBox.onChanged(), PathScripts.PathStock.StockCreateCylinder.onChanged(), FeaturePython.DistanceBolt.onChanged(), draftobjects.draftlink.DraftLink.onDocumentRestored(), and draftobjects.patharray.PathArray.onDocumentRestored().
◆ getArea()
def ArchBuildingPart.BuildingPart.getArea | ( | self, | |
obj | |||
) |
Referenced by ArchBuildingPart.BuildingPart.execute().
◆ getShapes()
def ArchBuildingPart.BuildingPart.getShapes | ( | self, | |
obj | |||
) |
Referenced by ArchBuildingPart.BuildingPart.execute().
◆ getSpaces()
def ArchBuildingPart.BuildingPart.getSpaces | ( | self, | |
obj | |||
) |
◆ onBeforeChange()
def ArchBuildingPart.BuildingPart.onBeforeChange | ( | self, | |
obj, | |||
prop | |||
) |
◆ onChanged()
def ArchBuildingPart.BuildingPart.onChanged | ( | self, | |
obj, | |||
prop | |||
) |
Method called when the object has a property changed. If the object's IfcType has changed, change the object's properties that relate to IFC attributes in order to match the IFC schema definition of the new IFC type. If a property changes that is in the "IFC Attributes" group, also change the value stored in the IfcData property's JSON. Parameters ---------- prop: string The name of the property that has changed.
Reimplemented from ArchIFC.IfcRoot.
References ArchIFC.IfcRoot.onChanged().
Referenced by draftviewproviders.view_base.ViewProviderDraft.attach(), ArchSite.Compass.buildCoordinates(), draftobjects.wire.Wire.execute(), ArchAxis.CommandArchGrid.IsActive(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.updateData(), draftviewproviders.view_label.ViewProviderLabel.updateData(), DraftLayer.ViewProviderLayer.updateData(), ArchBuildingPart.ViewProviderBuildingPart.updateData(), ArchPanel.ViewProviderPanelCut.updateData(), and ArchPanel.ViewProviderPanelSheet.updateData().
◆ onDocumentRestored()
def ArchBuildingPart.BuildingPart.onDocumentRestored | ( | self, | |
obj | |||
) |
References ArchAxis._Axis.setProperties(), ArchBuilding._Building.setProperties(), ArchAxis._ViewProviderAxis.setProperties(), ArchBuildingPart.BuildingPart.setProperties(), ArchAxis._AxisSystem.setProperties(), and ArchAxis.ArchGrid.setProperties().
◆ setProperties()
def ArchBuildingPart.BuildingPart.setProperties | ( | self, | |
obj | |||
) |
Give the object properties for storing IFC data. Also migrate old versions of IFC properties to the new property names using the .migrateDeprecatedAttributes() method.
Reimplemented from ArchIFC.IfcRoot.
References ArchIFC.IfcRoot.setProperties().
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchSite.Compass.buildCoordinates(), ArchSchedule.CommandArchSchedule.IsActive(), ArchAxis.CommandArchGrid.IsActive(), DraftLayer.Layer.onDocumentRestored(), ArchTruss.Truss.onDocumentRestored(), ArchCurtainWall.CurtainWall.onDocumentRestored(), ArchBuildingPart.BuildingPart.onDocumentRestored(), ArchPanel.PanelView.onDocumentRestored(), ArchPanel.PanelCut.onDocumentRestored(), ArchPanel.ViewProviderPanelCut.onDocumentRestored(), ArchPanel.PanelSheet.onDocumentRestored(), and ArchPanel.ViewProviderPanelSheet.onDocumentRestored().
◆ touchChildren()
def ArchBuildingPart.BuildingPart.touchChildren | ( | self, | |
obj | |||
) |
References ArchBuildingPart.BuildingPart.touchChildren().
Referenced by ArchBuildingPart.BuildingPart.touchChildren().
Member Data Documentation
◆ oldPlacement
ArchBuildingPart.BuildingPart.oldPlacement |
Referenced by ArchComponent.Component.onChanged().
◆ shapecache
ArchBuildingPart.BuildingPart.shapecache |
◆ svgcache
ArchBuildingPart.BuildingPart.svgcache |
◆ Type
ArchBuildingPart.BuildingPart.Type |
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchStructure.StructSelectionObserver.addSelection(), ArchSite.Compass.buildCoordinates(), ArchComponent.Component.execute(), DraftLayer.LayerContainer.execute(), ArchSchedule.CommandArchSchedule.IsActive(), ArchAxis.CommandArchGrid.IsActive(), draftobjects.draft_annotation.DraftAnnotation.onDocumentRestored(), ArchReference.ArchReference.setProperties(), and DraftLayer.Layer.setProperties().
The documentation for this class was generated from the following file:
- src/Mod/Arch/ArchBuildingPart.py