I’m trying to get the new Attached Detail Group API methods into some custom Nodes. (with the extra goal of learning more Python applied in Dynamo)
Starting with the GetAvailableAttachedDetailGrouptTypeIds command (so I can use that result in the Show and Hide commans later), got me results.
First problem was that I got the Ids returned as strings not as actual Revit Element, but the list structure was good (My example file has 3 Model Group instances with 3 Attached Detail Group Types each, so I got a 3x3 list)
When I started looping over that list with GetElement to convert the Id strings into actual elements the hierarchy of my list changed and the output was a 1x9 list.
Can someone point out how I can maintain the original structure here?