ArchBuildingPart.BuildingPart Class Reference

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

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

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

◆ 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:
  • src/Mod/Arch/ArchBuildingPart.py