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

Getting InwOaPath from CurrentPartition

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
384 Views, 0 Replies

Getting InwOaPath from CurrentPartition

I am using this sample code from the Examples.

RecurseIntoNode (m_state.CurrentPartition, false);

 

CurrentPartition is a InwOaNode

I would like to know how to get a InwOaPath object from this InwOaNode?

 

Or, is there a Root Path similar to CurrentPartition?

 

I need this because I after I run the Recurse code, I populate a treeview of Nodes and Attributes.  I wish to be able to Add a tag for the InwOaPath for each InwOaNode in the treeview.

When user clicks an Item, I want to run this code to set the CurrentSelection.

 

var path = TreeViewNode.Tag as nw.InwOaPath;

_state.CurrentSelection.Paths().Add(path);

0 REPLIES 0

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report