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: 

modelItem select changed

1 REPLY 1
SOLVED
Reply
Message 1 of 2
zmj122112
867 Views, 1 Reply

modelItem select changed

Hi,

    I'm a fresh man at Navisworks API. Now I have a question , that is how can I create the messagebox when modelItem select changed?

   For example: If user select an object, winform shows the messagebox about it's property. When user change another object selected ,winform shows the messagebox again. 

 

Thanks!

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

Hi,

 

you just need to delegate the event:  DocumentCurrentSelection.Changed, when the event fires, get current selection, and access its properties to display in your dialog or panel.

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

Post to forums  

Rail Community


Autodesk Design & Make Report