ArchBuildingPart.BuildingPart Class Reference

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
 

Member Function Documentation

◆ addObject()

def ArchBuildingPart.BuildingPart.addObject (   self,
  obj,
  child 
)

◆ autogroup()

◆ execute()

◆ getArea()

def ArchBuildingPart.BuildingPart.getArea (   self,
  obj 
)

◆ getShapes()

def ArchBuildingPart.BuildingPart.getShapes (   self,
  obj 
)

◆ 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.

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().

◆ onDocumentRestored()

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().

◆ setProperties()

◆ touchChildren()

def ArchBuildingPart.BuildingPart.touchChildren (   self,
  obj 
)

Member Data Documentation

◆ oldPlacement

ArchBuildingPart.BuildingPart.oldPlacement

◆ shapecache

ArchBuildingPart.BuildingPart.shapecache

◆ svgcache

ArchBuildingPart.BuildingPart.svgcache

◆ Type


The documentation for this class was generated from the following file: