Is it possible to delete export_solid ? #132
Unanswered
faure-levoux
asked this question in
General
Replies: 2 comments
-
|
What do u get as return ? In my case it worked:
import element_controller as ec
import attribute_controller as ac
import cadwork
ec.get_active_identifiable_element_ids()
[62992797]
ec.create_auto_export_solid_from_standard([62992797], "Test", "NewTest")
841949936
ec.delete_elements([841949936]) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It was a stupid misake ... I forgot [] around solid_id. solid_id = ec.create_auto_export_solid_from_standard(list_elements, "export", "name_export_solid")
sd.export_export_solid_with_clipboard(1, [solid_id])
ec.delete_elements([solid_id])Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !
I created an export solid with cwapi3dpython, and I want to delete it after the export solid.
When I use delete_elements, all the elements from the scene is deleted but not the export solid. Why ?
Here's my code :
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions