Public Member Functions | |
def | addObject (self, obj, child) |
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) |
![]() | |
def | getIfcSchema (self) |
![]() | |
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
◆ addObject()
def ArchBuildingPart.BuildingPart.addObject | ( | self, | |
obj, | |||
child | |||
) |
Referenced by ArchPanel.NestTaskPanel.getContainer(), and ArchPanel.NestTaskPanel.getShapes().
◆ execute()
def ArchBuildingPart.BuildingPart.execute | ( | self, | |
obj | |||
) |
References Path::FeatureArea.getArea(), Path::FeatureAreaPy.getArea(), ArchBuildingPart.BuildingPart.getArea(), ArchSpace._Space.getArea(), Mesh::FacetPy.getArea(), Mesh::MeshPy.getArea(), Part::SpherePy.getArea(), Part::TopoShapePy.getArea(), Part::ToroidPy.getArea(), Path::FeatureArea.getShapes(), Path::FeatureAreaView.getShapes(), TechDraw::ShapeExtractor.getShapes(), ArchPanel.NestTaskPanel.getShapes(), ArchBuildingPart.BuildingPart.getShapes(), and Path::AreaPy.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.DistanceBolt.DistanceBolt.onChanged(), Mod.PartDesign.Scripts.Epitrochoid.Epitrochoid.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.Parallelepiped.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.BoxCylinder.onChanged(), Mod.PartDesign.Scripts.Spring.MySpring.onChanged(), FeaturePython.DistanceBolt.onChanged(), PathScripts.PathStock.StockFromBase.onChanged(), PathScripts.PathStock.StockCreateBox.onChanged(), PathScripts.PathStock.StockCreateCylinder.onChanged(), draftobjects.draftlink.DraftLink.onDocumentRestored(), draftobjects.patharray.PathArray.onDocumentRestored(), and draftobjects.pathtwistedarray.PathTwistedArray.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 | |||
) |
Referenced by PathScripts.PathGui.QuantitySpinBox.updateProperty().
◆ 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(), ArchBuildingPart.ViewProviderBuildingPart.updateData(), ArchPanel.ViewProviderPanelCut.updateData(), ArchPanel.ViewProviderPanelSheet.updateData(), draftviewproviders.view_label.ViewProviderLabel.updateData(), draftviewproviders.view_layer.ViewProviderLayer.updateData(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.updateData().
◆ onDocumentRestored()
def ArchBuildingPart.BuildingPart.onDocumentRestored | ( | self, | |
obj | |||
) |
References ArchAxis._Axis.setProperties(), ArchAxis._AxisSystem.setProperties(), ArchAxis.ArchGrid.setProperties(), ArchBuilding._Building.setProperties(), ArchBuildingPart.BuildingPart.setProperties(), ArchComponent.Component.setProperties(), ArchCurtainWall.CurtainWall.setProperties(), ArchEquipment._Equipment.setProperties(), ArchFence._Fence.setProperties(), ArchFloor._Floor.setProperties(), ArchFrame._Frame.setProperties(), ArchIFC.IfcRoot.setProperties(), ArchMaterial._ArchMaterial.setProperties(), ArchPanel._Panel.setProperties(), ArchPanel.PanelView.setProperties(), ArchPanel.PanelCut.setProperties(), ArchPanel.PanelSheet.setProperties(), ArchPipe._ArchPipe.setProperties(), ArchPipe._ArchPipeConnector.setProperties(), ArchPrecast._Precast.setProperties(), ArchPrecast._PrecastBeam.setProperties(), ArchPrecast._PrecastIbeam.setProperties(), ArchPrecast._PrecastPillar.setProperties(), ArchPrecast._PrecastPanel.setProperties(), ArchPrecast._PrecastSlab.setProperties(), ArchPrecast._PrecastStairs.setProperties(), ArchProject._Project.setProperties(), ArchRebar._Rebar.setProperties(), ArchReference.ArchReference.setProperties(), ArchRoof._Roof.setProperties(), ArchSchedule._ArchSchedule.setProperties(), ArchSectionPlane._SectionPlane.setProperties(), ArchSectionPlane._ArchDrawingView.setProperties(), ArchSite._Site.setProperties(), ArchSpace._Space.setProperties(), ArchStairs._Stairs.setProperties(), ArchStructure._Structure.setProperties(), ArchTruss.Truss.setProperties(), ArchWall._Wall.setProperties(), ArchWindow._Window.setProperties(), ArchAxis._ViewProviderAxis.setProperties(), ArchBuildingPart.ViewProviderBuildingPart.setProperties(), ArchComponent.ViewProviderComponent.setProperties(), ArchFence._ViewProviderFence.setProperties(), ArchPanel.ViewProviderPanelCut.setProperties(), ArchPanel.ViewProviderPanelSheet.setProperties(), ArchRebar._ViewProviderRebar.setProperties(), ArchReference.ViewProviderArchReference.setProperties(), ArchSectionPlane._ViewProviderSectionPlane.setProperties(), ArchSite._ViewProviderSite.setProperties(), ArchSpace._ViewProviderSpace.setProperties(), and ArchStructure._ViewProviderStructure.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 draftutils.translate.QT_TRANSLATE_NOOP, and ArchIFC.IfcRoot.setProperties().
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchSite.Compass.buildCoordinates(), ArchAxis.CommandArchGrid.IsActive(), ArchSchedule.CommandArchSchedule.IsActive(), ArchAxis.ArchGrid.onDocumentRestored(), ArchBuildingPart.BuildingPart.onDocumentRestored(), ArchCurtainWall.CurtainWall.onDocumentRestored(), ArchPanel.PanelView.onDocumentRestored(), ArchPanel.PanelCut.onDocumentRestored(), ArchPanel.PanelSheet.onDocumentRestored(), ArchTruss.Truss.onDocumentRestored(), ArchBuildingPart.ViewProviderBuildingPart.onDocumentRestored(), ArchPanel.ViewProviderPanelCut.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(), draftobjects.draft_annotation.DraftAnnotation.add_missing_properties_0v19(), ArchStructure.StructSelectionObserver.addSelection(), ArchSite.Compass.buildCoordinates(), ArchComponent.Component.execute(), draftobjects.layer.LayerContainer.execute(), ArchAxis.CommandArchGrid.IsActive(), ArchSchedule.CommandArchSchedule.IsActive(), draftobjects.layer.Layer.set_properties(), and ArchReference.ArchReference.setProperties().
The documentation for this class was generated from the following file:
- Sources/FreeCAD/src/Mod/Arch/ArchBuildingPart.py