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:
Jeremy Wright 2015-01-08 20:17:07 -05:00
parent 016ab83f41
commit dc89c70d2f

View File

@ -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"""