Navisworks API

Navisworks API

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

Identify root model of a selected modelitem

121 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,335
Registered: ‎06-12-2011
Message 2 of 2 (100 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.