Navisworks API

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

Identify root model of a selected modelitem

110 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,260
Registered: ‎06-12-2011
Message 2 of 2 (89 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community