parameters: (self,obj)
return_statement: return area
docstring: computes the area of this floor by adding its inner spaces
docstring_summary: computes the area of this floor by adding its inner spaces
docstring_tokens: computes the area of this floor by adding its inner spaces
function: def getArea(self,obj):
  
          "computes the area of this floor by adding its inner spaces"
  
          area = 0
          if hasattr(obj,"Group"):
              for child in obj.Group:
                  if (Draft.get_type(child) in ["Space","BuildingPart"]) and hasattr(child,"IfcType"):
                      area += child.Area.Value
          return area
function_tokens: def getArea ( self , obj ) : area = 0 if hasattr ( obj , "Group" ) : for child in obj . Group : if ( Draft . get_type ( child ) in [ "Space" , "BuildingPart" ] ) and hasattr ( child , "IfcType" ) : area += child . Area . Value return area