dealing with process type #230
-
|
Hey there, I tried that but : does the following still work if process type "Panel 1" has a different name? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hey,
import cadwork
import element_controller as ec
import attribute_controller as ac
element_ids = ec.get_active_identifiable_element_ids()
for element_id in element_ids:
process_type = ac.get_output_type(element_id)
if (process_type.is_panel_1()):
print("Element is ....") |
Beta Was this translation helpful? Give feedback.
@ancelin-charpentier
yes, or you could also do something like this, but your solution is also good :)