Repository navigation
dealing with process type #230
Answered
by
Brunner246
ancelin-charpentier
asked this question in
Q&A
|
Hey there, I tried that but : does the following still work if process type "Panel 1" has a different name? |
Answered by
Brunner246
Jan 14, 2025
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 ....") |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ancelin-charpentier
yes, or you could also do something like this, but your solution is also good :)