Fixed a bug where each object in the active document was referred to by its label instead of its name.
This commit is contained in:
parent
016ab83f41
commit
dc89c70d2f
|
@ -21,7 +21,7 @@ def clearActiveDocument():
|
|||
#Make sure we have an active document to work with
|
||||
if doc is not None:
|
||||
for obj in doc.Objects:
|
||||
doc.removeObject(obj.Label)
|
||||
doc.removeObject(obj.Name)
|
||||
|
||||
class CadQueryClearOutput:
|
||||
"""Allows the user to clear the reports view when it gets overwhelmed with output"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user