Translations:Scripts/58/en

def clear_doc: """Clear activeDocument deleting all the objects.""" for obj in DOC.Objects: DOC.removeObject(obj.Name)