I am trying to remove all layers from part/assembly using following code:
for component in component_list:
creopyson.layer.delete(srv, name=None, file_=component)
But I do not get any layer removed. Documentation show "Layer name (wildcards allowed: True). Defaults: All layers will be deleted." I think that None means "all will be removed"?
Here is the error:
RuntimeError: Invalid JSON input: {"sessionId": "4726948925695228620", "command": "layer", "function": "delete", "data": {"name": null, "file": "20-111_joining_plate.prt"}}
Under "name" it says null which is not None value. What should I put for "name" so all layers are deleted?
I am trying to remove all layers from part/assembly using following code:
But I do not get any layer removed. Documentation show "Layer name (wildcards allowed: True). Defaults: All layers will be deleted." I think that None means "all will be removed"?
Here is the error: RuntimeError: Invalid JSON input: {"sessionId": "4726948925695228620", "command": "layer", "function": "delete", "data": {"name": null, "file": "20-111_joining_plate.prt"}}
Under "name" it says null which is not None value. What should I put for "name" so all layers are deleted?