Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I create Selection Tree through COM API?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
653 Views, 1 Reply

Can I create Selection Tree through COM API?

Hi

 

I want to be able to build a tree that can be seen in the Standard, Compact, Properties, Sets tabs in the Selection Tree in NW Simulate through COM (or .NET) API.

 

How would I approach this?

1 REPLY 1
Message 2 of 2
xiaodong_liang
in reply to: Anonymous

Hi,

 

Something I would suggest: in Navisworks 2012, we provided a plugin of .NET called Dockable window, in which you could use Tree control of .NET. When any node of the tree is selected, you can create a Search condition (.NET API) to find the corresponding objects, and highlight them. For sure you could also add node like Compact, SelectionSet etc. It just depends on the search condition.

 

At COM side, \api\COM\examples\PLUGIN_07 is a sample to build one tab within the built-in Selection Tree pane. In this tab, you can specify the conditions (Find API of COM) thus the corresponding nodes will be listed, either explicit selection, search selection etc. But I prefer to the .NET plugin because it would be more flexible.

 

Regards,

Xiaodong Liang

Developer Technical Services

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report