Skip to main content
1-Visitor
Nov 29, 2017 10:10 AM UTC
Solved

Toolkit : How to find Component name/ID on click of context menu?

Hello everybody,

 I have configured the shortcut menu for components. Menu gets displayed on right click. Everything is fine till here.

So when assembly is displayed in Tree view, I can right click on one of it's components (asm/part) and execute my function.

 

Problem: I need to find out the name/id of selected component/s on which user "right clicked".

I can see that information in trail file but need to know the function which will provide me required information.

 

Thanks in advance to all those who would share their knowledge,

Madhavi

 

 

 

 

MadhaviGAnswer
1-Visitor
Nov 30, 2017 2:41 PM UTC

solution: ProSelbufferSelectionsGet

2 replies

MadhaviG1-VisitorAuthor
1-Visitor
Nov 29, 2017 3:10 PM UTC

has anybody used:

ProUITreeNodesVisit

ProUITreeChildnamesGet

ProUITreeNodeIsSelected ?

 

Translate
MadhaviG1-VisitorAuthorAnswer
1-Visitor
Nov 30, 2017 2:41 PM UTC

solution: ProSelbufferSelectionsGet

Translate