Hello
I’m trying to get the nested anotation families from a family i have using the following code:
import clr
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
def GetSubComponents(item):
res = []
for x in item.GetSubComponentIds():
res.append(item.Document.GetElement(x))
return res
OUT = map(GetSubComponents,UnwrapElement(IN[0]))
It is returning to me a list containing all of the nested Electrical fixture families. But not the Generic annotations i desire
How do i get these annotation families?
thank you!