Public Member Functions | |
def | addObject (self, obj, child) |
def | autogroup (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) |
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 | getIfcSchema (self) |
def | getIfcTypeSchema (self, IfcType) |
def | getObjIfcComplexAttribute (self, obj, attributeName) |
def | migrateDeprecatedAttributes (self, obj) |
def | onChanged (self, obj, prop) |
def | purgeUnusedIfcAttributesFromPropertiesList (self, ifcTypeSchema, obj) |
def | setObjIfcAttributeValue (self, obj, attributeName, value) |
def | setObjIfcComplexAttributeValue (self, obj, attributeName, value) |
def | setProperties (self, obj) |
def | setupIfcAttributes (self, obj) |
def | setupIfcComplexAttributes (self, obj) |
Public Attributes | |
oldPlacement | |
shapecache | |
svgcache | |
Type | |
def ArchBuildingPart.BuildingPart.addObject | ( | self, | |
obj, | |||
child | |||
) |
def ArchBuildingPart.BuildingPart.autogroup | ( | self, | |
obj, | |||
child | |||
) |
References PartDesignGui::TaskLinearPatternParameters.addObject(), PartDesignGui::TaskMirroredParameters.addObject(), PartDesignGui::TaskMultiTransformParameters.addObject(), PartDesignGui::TaskPolarPatternParameters.addObject(), PartDesignGui::TaskTransformedParameters.addObject(), PartDesign::Body.addObject(), Mesh::Exporter.addObject(), App::GroupExtension.addObject(), App::Document.addObject(), Sandbox::DocumentProtectorPy.addObject(), Sandbox::DocumentProtector.addObject(), Path::FeatureCompound.addObject(), ArchFloor._Floor.addObject(), ArchBuildingPart.BuildingPart.addObject(), ArchProject._Project.addObject(), ArchSite._Site.addObject(), ArchSpace._Space.addObject(), draftobjects.layer.Layer.addObject(), and ArchPanel.NestTaskPanel.addObject().
Referenced by DraftGui.DraftToolBar.setAutoGroup().
def ArchBuildingPart.BuildingPart.execute | ( | self, | |
obj | |||
) |
References Path::FeatureArea.getArea(), ArchBuildingPart.BuildingPart.getArea(), ArchSpace._Space.getArea(), Path::FeatureArea.getShapes(), Path::FeatureAreaView.getShapes(), TechDraw::ShapeExtractor.getShapes(), ArchPanel.NestTaskPanel.getShapes(), 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.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().
def ArchBuildingPart.BuildingPart.getArea | ( | self, | |
obj | |||
) |
Referenced by ArchBuildingPart.BuildingPart.execute().
def ArchBuildingPart.BuildingPart.getShapes | ( | self, | |
obj | |||
) |
Referenced by ArchBuildingPart.BuildingPart.execute().
def ArchBuildingPart.BuildingPart.getSpaces | ( | self, | |
obj | |||
) |
def ArchBuildingPart.BuildingPart.onBeforeChange | ( | self, | |
obj, | |||
prop | |||
) |
Referenced by PathScripts.PathGui.QuantitySpinBox.updateProperty().
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.
Referenced by ArchStructure.CommandStructuralSystem.Activated(), draftviewproviders.view_base.ViewProviderDraft.attach(), ArchSite.Compass.buildCoordinates(), draftobjects.wire.Wire.execute(), 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().
def ArchBuildingPart.BuildingPart.onDocumentRestored | ( | self, | |
obj | |||
) |
References ArchAxis._Axis.setProperties(), ArchAxisSystem._AxisSystem.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(), ArchGrid.ArchGrid.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(), draftobjects.hatch.Hatch.setProperties(), draftobjects.shape2dview.Shape2DView.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().
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.
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchStructure.CommandStructuralSystem.Activated(), ArchSite.Compass.buildCoordinates(), ArchSchedule.CommandArchSchedule.IsActive(), ArchBuildingPart.BuildingPart.onDocumentRestored(), ArchCurtainWall.CurtainWall.onDocumentRestored(), ArchGrid.ArchGrid.onDocumentRestored(), ArchPanel.PanelView.onDocumentRestored(), ArchPanel.PanelCut.onDocumentRestored(), ArchPanel.PanelSheet.onDocumentRestored(), ArchTruss.Truss.onDocumentRestored(), draftobjects.hatch.Hatch.onDocumentRestored(), draftobjects.shape2dview.Shape2DView.onDocumentRestored(), ArchBuildingPart.ViewProviderBuildingPart.onDocumentRestored(), ArchPanel.ViewProviderPanelCut.onDocumentRestored(), and ArchPanel.ViewProviderPanelSheet.onDocumentRestored().
def ArchBuildingPart.BuildingPart.touchChildren | ( | self, | |
obj | |||
) |
References ArchBuildingPart.BuildingPart.touchChildren().
Referenced by ArchBuildingPart.BuildingPart.touchChildren().
ArchBuildingPart.BuildingPart.oldPlacement |
Referenced by ArchComponent.Component.onChanged().
ArchBuildingPart.BuildingPart.shapecache |
ArchBuildingPart.BuildingPart.svgcache |
ArchBuildingPart.BuildingPart.Type |
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchStructure.CommandStructuralSystem.Activated(), draftobjects.draft_annotation.DraftAnnotation.add_missing_properties_0v19(), ArchStructure.StructSelectionObserver.addSelection(), ArchSite.Compass.buildCoordinates(), ArchComponent.Component.execute(), draftobjects.layer.LayerContainer.execute(), ArchSchedule.CommandArchSchedule.IsActive(), draftobjects.layer.Layer.set_properties(), and ArchReference.ArchReference.setProperties().