Get element ids from an attribute #231
Unanswered
JuniperScarr
asked this question in
Q&A
Replies: 1 comment
-
from collections import defaultdict
import cadwork
import element_controller as ec
import attribute_controller as ac
element_ids = ec.get_all_identifiable_element_ids()
element_dict = defaultdict(list)
for element_id in element_ids:
element_dict[ac.get_subgroup(element_id)].append(element_id) |
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
-
Is it possible to get the element ids by calling for an attribute such as a Group name? I am generally looking for different ways to get elements ids without them having to be active in a model.
Any help on this would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions