Message 1 of 2
GetSubComponentIds cannot get nested familyInstance information

Not applicable
04-21-2014
07:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I use this family file, it has nested lamp, however, I use the follow code to get the nested lamp information.
ICollection<ElementId> subElemSet = familyinstance.GetSubComponentIds();
However, the problem is that subElemSet.count == 0, why I cannot get the lamp information from this family file?
Is there any other way to get the lamp information?