parameters: (objectslist=None,baseobj=None,name="BuildingPart")
return_statement: return obj
docstring: makeBuildingPart(objectslist): creates a buildingPart including the
      objects from the given list.
docstring_summary: makeBuildingPart(objectslist): creates a buildingPart including the
      objects from the given list.
docstring_tokens: makeBuildingPart ( objectslist ) : creates a buildingPart including the objects from the given list .
function: def makeBuildingPart(objectslist=None,baseobj=None,name="BuildingPart"):
  
      '''makeBuildingPart(objectslist): creates a buildingPart including the
      objects from the given list.'''
  
      obj = FreeCAD.ActiveDocument.addObject("App::GeometryPython","BuildingPart")
      #obj = FreeCAD.ActiveDocument.addObject("App::FeaturePython","BuildingPart")
      obj.Label = translate("Arch","BuildingPart")
      BuildingPart(obj)
      # if no IfcType is set it will be the first in the available
      # Annotation in IFC2x3 and Actuator in IFC4, both is certainly wrong
      # use Undefined ATM
      obj.IfcType = "Undefined"
      if FreeCAD.GuiUp:
          ViewProviderBuildingPart(obj.ViewObject)
      if objectslist:
          obj.addObjects(objectslist)
      return obj
function_tokens: def makeBuildingPart ( objectslist = None , baseobj = None , name = "BuildingPart" ) : obj = FreeCAD . ActiveDocument . addObject ( "App::GeometryPython" , "BuildingPart" ) #obj = FreeCAD.ActiveDocument.addObject("App::FeaturePython","BuildingPart") obj . Label = translate ( "Arch" , "BuildingPart" ) BuildingPart ( obj ) # if no IfcType is set it will be the first in the available # Annotation in IFC2x3 and Actuator in IFC4, both is certainly wrong # use Undefined ATM obj . IfcType = "Undefined" if FreeCAD . GuiUp : ViewProviderBuildingPart ( obj . ViewObject ) if objectslist : obj . addObjects ( objectslist ) return obj