parameters: (objects=None)
docstring: cleanArchSplitter([objects]): removes the splitters from the base shapes
      of the given Arch objects or selected Arch objects if objects is None
docstring_summary: cleanArchSplitter([objects]): removes the splitters from the base shapes
      of the given Arch objects or selected Arch objects if objects is None
docstring_tokens: cleanArchSplitter ( [ objects ] ) : removes the splitters from the base shapes of the given Arch objects or selected Arch objects if objects is None
function: def cleanArchSplitter(objects=None):
      """cleanArchSplitter([objects]): removes the splitters from the base shapes
      of the given Arch objects or selected Arch objects if objects is None"""
      import FreeCAD,FreeCADGui
      if not objects:
          objects = FreeCADGui.Selection.getSelection()
      if not isinstance(objects,list):
          objects = [objects]
      for obj in objects:
          if hasattr(obj,'Shape'):
              if hasattr(obj,"Base"):
                  if obj.Base:
                      print("Attempting to clean splitters from ", obj.Label)
                      base = obj.Base.getLinkedObject()
                      if base.isDerivedFrom("Part::Feature"):
                          if not base.Shape.isNull():
                              base.Shape = base.Shape.removeSplitter()
      FreeCAD.ActiveDocument.recompute()
function_tokens: def cleanArchSplitter ( objects = None ) : import FreeCAD , FreeCADGui if not objects : objects = FreeCADGui . Selection . getSelection ( ) if not isinstance ( objects , list ) : objects = [ objects ] for obj in objects : if hasattr ( obj , 'Shape' ) : if hasattr ( obj , "Base" ) : if obj . Base : print ( "Attempting to clean splitters from " , obj . Label ) base = obj . Base . getLinkedObject ( ) if base . isDerivedFrom ( "Part::Feature" ) : if not base . Shape . isNull ( ) : base . Shape = base . Shape . removeSplitter ( ) FreeCAD . ActiveDocument . recompute ( )