Navisworks API

Navisworks API

Reply
Distinguished Contributor
bthatcher
Posts: 744
Registered: ‎12-12-2003
Message 1 of 2 (114 Views)

Identify root model of a selected modelitem

114 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
xiaodong.liang
Posts: 1,271
Registered: ‎06-12-2011
Message 2 of 2 (93 Views)

Re: Identify root model of a selected modelitem

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

Hi,

 

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



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Announcements
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.