Hello,
I am unable to get the ElementId of non shared nested family. I will put my case with the help of 3 screenshots (named as 1, 2 and 3).
Suppose I have one family (consider as 'Main') and several families are nested in it as non shared type. Those non shared families acts as values of a parameter for Main family.
When I select Main family instance using Revit Loopup add-in, I get following things,
1
After this, I click on its Parameters, I get following thing
2
Now for the Parameter(Lower Left, strikethrough), its storage type is ElementId, and when I click on its 'AsElementId' property, I get following image.
3
For different nested families, it has different ElementId, as shown in fig (3).
Now my question is, how do I get all the ElementId of those nested families of Main family instance (non shared nested families). Is there any way to get those using API?
I tried to edit the main Family and collected all its nested families using FilteredElementCollector, but these wont match with the earlier ones (which we got using Revit Lookup).
Thanks in advance.