'Right-click and drag' popup menu in Modelling
'Right-click and drag' popup menu in Modelling
(OP)
Re: thread561-232656: Right-click, hold and drag. Popup menu. Can you change it?
Can JohnRBaker, or anyone else for that matter, help me? John's post, if I am reading it correctly, seems to suggest that the right-click-and-drag popup menu (see attached screenshot) can be edited but I can't seem to figure out how.
I've started the Customize screen but I can't locate the popup menu to drag a new button onto. Is it possible to edit this?
Thanks,
JH
Can JohnRBaker, or anyone else for that matter, help me? John's post, if I am reading it correctly, seems to suggest that the right-click-and-drag popup menu (see attached screenshot) can be edited but I can't seem to figure out how.
I've started the Customize screen but I can't locate the popup menu to drag a new button onto. Is it possible to edit this?
Thanks,
JH





RE: 'Right-click and drag' popup menu in Modelling
This is what I created as the MEN file ...
VERSION 120
EDIT UG_GATEWAY_VIEW_POPUP
! Additional Options
MODIFY
BUTTON UG_VIEW_POPUP_RESTORE_ORIGINAL
POPUP_LOCATION 1
BUTTON UG_VIEW_POPUP_ORIENT_TFRTRI
BITMAP view_tfr_tri.bmp
POPUP_LOCATION 4
BUTTON UG_VIEW_POPUP_REFRESH
POPUP_LOCATION 5
BUTTON UG_VIEW_POPUP_STATIC_WIREFRAME
POPUP_LOCATION 8
END_OF_MODIFY
NX 6.0.5.3
Windows XP32
RE: 'Right-click and drag' popup menu in Modelling
RE: 'Right-click and drag' popup menu in Modelling
Cheers,
JH
RE: 'Right-click and drag' popup menu in Modelling
I've successfully changed the popup menu using the approach you suggested but I can't get it to use the command I want. I'm trying to put the True Shading toggle (I'm in NX7) into position 8, so I've added the following lines into the .men file (the bitmap is just to have an image in there, I'll find the proper one later):
BUTTON UG_VIEW_POPUP_TRUE_SHADING_TOGGLE
LABEL True Shad&ing
BITMAP hidden_line_normal.bmp
POPUP_LABEL True Shad&ing
POPUP_LOCATION 8
ACTIONS STANDARD
When I get into NX, the space is empty (though it has the image present if I put an incorrect function name in the BUTTON line) and going through Information > Custom Menu Bar > Custom Item report shows the following:
The following standard menu items have one or more custom actions:
Toggle UG_VIEW_POPUP_TRUE_SHADING_TOGGLE True Shading
Actions:
<wrong button type>
Any ideas what I'm missing?
Thanks,
JH
RE: 'Right-click and drag' popup menu in Modelling
TOGGLE_BUTTON UG_VIEW_POPUP_TRUE_SHADING_TOGGLE
LABEL True Shad&ing
MESSAGE Displays views with True Shading visualization characteristics.
BITMAP true_shade
POPUP_LABEL True Shad&ing
POPUP_MESSAGE Displays views with True Shading visualization characteristics.
POPUP_LOCATION 8
ACTIONS STANDARD
And it works just fine.
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: 'Right-click and drag' popup menu in Modelling
John, I copied and pasted the lines that you posted above into the edit_ug_view_popup.men under our NX7_Custom\Menuscript\startup directory and restarted NX. The button was not present and nothing showed up under the Custom Item Report.
If I remove TOGGLE_ from the beginning and run NX, the button is still invisible and I get the same 'wrong button type' error in the Custom Item Report as I posted before. If I remove _TOGGLE from the end of the first line, the button is again invisible and the Custom Item Report tells me, understandably, that the action is not registered. If, however, I remove both TOGGLE_ and _TOGGLE, the button does appear but clicking it pops up an error message about the action not being registered.
We use this file to create one other button, which I can move from position 4 to position 8 with no problem, so editing it can produce a successful change but it just refuses to accept the True Shading button, for some reason.
I've attached the file that I'm editing, can you see what it is that I'm missing? I know this was information overload, but I figured better to have too much than only giving half the story and leaving you guessing the rest.
Thanks ever so much for your time!
JH
Jon Hackett
Mechanical Engineer and de facto CAD Manager
Taylor Hobson Ltd. (www.taylor-hobson.com)
RE: 'Right-click and drag' popup menu in Modelling
It seems that the character & is in wrong place
find below my test:
BUTTON UG_VIEW_POPUP_STATIC_WIREFRAME
LABEL &Static Wireframe
BITMAP hidden_line_normal.bmp
POPUP_LABEL &Static Wireframe
POPUP_LOCATION 4
ACTIONS STANDARD
TOGGLE_BUTTON UG_VIEW_POPUP_TRUE_SHADING_TOGGLE
LABEL &True Shading
BITMAP true_shade.bmp
POPUP_LABEL &True Shading
POPUP_LOCATION 8
ACTIONS STANDARD
Regards
Didier Psaltopoulos
http://www.psi-cad.com
RE: 'Right-click and drag' popup menu in Modelling
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: 'Right-click and drag' popup menu in Modelling
RE: 'Right-click and drag' popup menu in Modelling
I meant to reply a while ago to say that I've tried word for word what John and others have suggested (and thank you again for your efforts, they are appreciated!) but NX is still steadfastly refusing to cooperate. The spaceball suggestion is, however, a good idea and I'll suggest it to the user in question.
Cheers,
Jon
Jon Hackett
Mechanical Engineer and de facto CAD Manager
Taylor Hobson Ltd. (www.taylor-hobson.com)