Hey everyone, last ditched effort to try and figure this out. I have attached my script in hopes someone can take a look and let me know what I am doing wrong. I am trying to create an automated numbering system which organized components by two categories:
1.) “A: Type Abbreviation” = Type Parameter (Sp & Sub)
then
2.) “Level” = Built in Revit Parameter.
The ultimate goal is to apply a numbering sequence based on the “A: Type Abbreviation” that changes the first number to 1, 2, or 3 depending on the level.
Example:
1st Level (SP) = 101,102,…109, 110
2nd Level (SP) = 201, 202,…209, 210
2nd Level (SUB) = 201, 202,… 209, 210
The elements themselves are hosted to levels, but for some reason I cannot get the correct output. In the screenshot, theres a group that I called “Correct Numbers".” This numbering is the correct input. When I go to apply it to my output (A: Mark #), I get one of three errors:
1.) Attaching back to the start “All Elements of Category” node, the system freezes
2.) Attaching back to the first “List.GroupByKey” node, the list returns as if the levels do not exist
3.) Attaching back to the second “List.GroupByKey” node, the list returns null for all items
Tried to be as clear as possible. Let me know if I need to re-explain anything. Thank you in advance.