Navisworks API

Distinguished Contributor
Posts: 747
Registered: ‎12-12-2003
Message 1 of 2 (116 Views)

Identify root model of a selected modelitem

116 Views, 1 Replies
01-15-2013 01:10 PM

I'm trying to isolate the two models that are part of a given ClashTest. I can get to ItemA and ItemB, but I need the Model that they are part of, not just the selection from the ClaskTest. How do I do that, thanks?

ADN Support Specialist
Posts: 1,274
Registered: ‎06-12-2011
Message 2 of 2 (95 Views)

Re: Identify root model of a selected modelitem

02-19-2013 02:02 AM in reply to: bthatcher



Probably I misunderstood your question. Does ModelItem.Ancestors help you?

Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.