cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to add menu in model tree?

CHASEONHO
18-Opal

How to add menu in model tree?

How to add menu in model tree?

image 1.png

I would like to add a menu to the red area of the attached picture

ACCEPTED SOLUTION

Accepted Solutions

So not clear in which Customization module - so supposing it is a Toolkit question.

So a good point is to  check the PTC examples if there is some solution.

For example in the pt_user guide there is such menu item defined for part mode:

2018-07-16_16-11-41.jpg

So means first you need to start the ptc examples / - here it is only the ptc user guide

2018-07-16_16-10-49.jpg

So the next question is how to find the sourece of the desired function.

We see here the menu text is  -ExportXML.  So search for this text / string in the Toolkit installation directory

2018-07-16_16-15-00.jpg

So there I found the UgPopupmenus.c as top point of the implementation (from there we need to check the further implementations of the subroutines and help libraries

2018-07-16_16-19-48.jpg

You can additionaly try to find the implementation of the following menu items (in picture)

2018-07-16_16-34-07.jpg

View solution in original post

3 REPLIES 3

Hi,

please ask PTC Support.


Martin Hanák

So not clear in which Customization module - so supposing it is a Toolkit question.

So a good point is to  check the PTC examples if there is some solution.

For example in the pt_user guide there is such menu item defined for part mode:

2018-07-16_16-11-41.jpg

So means first you need to start the ptc examples / - here it is only the ptc user guide

2018-07-16_16-10-49.jpg

So the next question is how to find the sourece of the desired function.

We see here the menu text is  -ExportXML.  So search for this text / string in the Toolkit installation directory

2018-07-16_16-15-00.jpg

So there I found the UgPopupmenus.c as top point of the implementation (from there we need to check the further implementations of the subroutines and help libraries

2018-07-16_16-19-48.jpg

You can additionaly try to find the implementation of the following menu items (in picture)

2018-07-16_16-34-07.jpg

really thank you so much!

Announcements


Top Tags