×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

'Right-click and drag' popup menu in Modelling

'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

RE: 'Right-click and drag' popup menu in Modelling

Yes, it is possible, but the only way I know is to create a MEN file and place it in the Startup folder.

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

(OP)
Thanks, I'll give this MEN approach a go, looks pretty straightforward.

Cheers,

JH

RE: 'Right-click and drag' popup menu in Modelling

(OP)
Morning, all,

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

It worked for me.  Here is what I put in my edited pop-up menu file:

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

(OP)
Ok, I'm at a loss to work out what's going on now... let me explain.

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

Hi JH,

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

My advice would be start out by making a copy of the COMPLETE 'ug_view_popup.men' (and leaving it the same name) and placing it in the 'application' folder.  Now make your edits to this file.  This is how I do it and it works fine for me.

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

If you have a "spaceball" you may want to consider assigning commands to buttons that you have available for that.

RE: 'Right-click and drag' popup menu in Modelling

(OP)
Morning, all,

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)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources