Skip to main content
18-Opal
July 16, 2018
Solved

How to add menu in model tree?

  • July 16, 2018
  • 2 replies
  • 1670 views

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

Best answer by RolandRaytchev

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

2 replies

24-Ruby III
July 16, 2018

Hi,

please ask PTC Support.

21-Topaz I
July 16, 2018

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

CHASEONHO18-OpalAuthor
18-Opal
July 17, 2018

really thank you so much!