Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Radial Pop-ups 1

Status
Not open for further replies.

realmagicracer

Aerospace
Jan 3, 2008
76
BG
Is it possible, and how, to customize the Radial Pop-ups. As an example to replace "Wireframe with dim edges" with "wireframe with hidden edges" or "Static wireframe"?
And I have another question about views customization. But I don't want to start a new thread about it, because it is connected with first one.
Is it possible, and how, to customize "Wireframe with dim edges" and "dimmed edges" to be displayed with dashed lines.

Regards: Dimo Urumov
Aircraft Engineer
Plovdiv, Bulgaria
 
Replies continue below

Recommended for you

OK, attached to this post is a customized version of the View pop-up dialog including the edits needed to add the items you mentioned the radial pop-ups (note that this is pop-up I use). OK, once you have this file, place it somewhere convenient and set the following environment variable equal to the path to the file (include the file name):

set UGII_VIEW_POPUP_MENU_FILE=

As for the question about Dashed hidden edges, yes, just go to Preferences -> Visualization... and select the 'Visual' tab and in the 'General Display Settings' section go the item labeled 'Hidden Edge Style' and set the option to 'Dashed'.




John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
 
VERSION 120

EDIT UG_GATEWAY_VIEW_POPUP


MODIFY

BUTTON UG_VIEW_POPUP_REPLACE_TFRISO
POPUP_LOCATION 1

END_OF_MODIFY


Here is a quick example of overriding a radial popup. Haven't tried changing the icon yet, right now it is broken image. Create a file called something.men with the content of the file to be this:

VERSION 120

EDIT UG_GATEWAY_VIEW_POPUP

MODIFY

BUTTON/REPLACE UG_VIEW_POPUP_STUDIO
LABEL S&tudio
MESSAGE Renders faces (in the view where the cursor is positioned) realistically according to assigned basic materials, textures, and lights.
BITMAP image_on_sphere.bmp
POPUP_LABEL S&tudio
POPUP_MESSAGE Renders faces (in the view where the cursor is positioned) realistically according to assigned basic materials, textures, and lights.
ACTIONS STANDARD

END_OF_MODIFY

place this file into a startup folder that NX can see on startup.

-Dave Tolsma
 
I feel it would be nice if the icons on the Radial Popup didn't allow you to select them when your mouse cursor isn't over the icons.

Click and hold MB3 and then spiral your cursor off of the icons and around the "block" the icons make...you can still select them when you're not even touching an icon, even when you're at the screen extents.

Tim Flater
Senior Designer
Enkei America, Inc.

Some people are like slinkies....they don't really have a purpose, but they still bring a smile to your face when you push them down the stairs.
 
Dave Tolsma,
Please explain further, it sounds like your modifying the "gesture" pop-up which is something i'd like to do.
I'd like to replace the studio gesture with say F8,

Your explaination seems to talk about modifying it but then doesn't ??
 
I'm Basically overriding the 3rd mouse button popup icons (the 8), Per context. My example is if you are not hovering over anything the Tri-Iso action replaces the Studio view. Proof of concept.

What do you want to do with the popup menu? the F8 is something else. I'll take a look to see if and how it can be done.


-Dave Tolsma
Tolsnet LLC
 
yes, i want to replace the studio view icon with something else, what exactly, i haven't decided, but we have no studio licence, so might us it for something else, any suggestions?
 
Or maybe "Patrially Shaded". It's quite helpful in assemblies.

Regards: Dimo Urumov
Aircraft Engineer
Plovdiv, Bulgaria
 
update display sounds good, how can i change it to do that ?
 
OK, attached is a zip file containing a new display pop-up menu file where I've replaced Studio Display with Update Display. Now it turns out that 'Update Display' only appears in a pull-down menu and not on a tool bar so there are no system supplied Icons so I had to create one of my own (I added Display Update to one of my view toolbar a couple of releases ago, so I had all the pieces that I needed for this effort), which I've also included. Now as long as the icon is in the same folder as the pop-up menu file, it will find it OK.

To see what this looks like in the pop-up menu file, open the file and search for 'POPUP_LOCATION 1'. Now what you'll find first is the old Studio Display item which I've left in place, just commented out, however just below this you'll find the new section adding the Display Update function.

Anyway, good luck and let me know how it works for you.

John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
 
Thanks John, that worked great, i just had to add in the .bmp location to get that to show up as well.

Here's an interesting question, a collegue asked, can you get a different gesturing menu to pop up when holding down an initiation key, (as in MAYA) lets say Ctrl E , and have , extrude, revolve, sweep etc, or Alt S , and have , bounded plane, ruled, through curves, through curve mesh, and so on
What do you think ?
 
NX 6 will have you covered as we're adding 3 user defined pop-up menus initiated by pressing Ctrl-Shift and then pushing either MB1, MB2 or MB3. They will appear at your cursor location and like the Display Radial Pop-Up, you can then select your desired function. You can use Customize to assign whatever functions you wish to the 24 (8 for each pop-up) slots available, as shown in the attached image below (these are the ones that I've set up for use in my NX 6 demos).


John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
 
John,

That is great! [smile]
Sounds like something I've seen and may have mentioned before so I'm bound to be a supporter. Good on you for using a key sequence accessible from the space pilot, and Ctrl/Alt or Alt/Shift might also be available should they not conflict with anything else.

Best Regards

Hudson
 
looks good John, so do we have to wait till then or can we get it to work on NX5 ?
 
Sorry, it's an NX 6 enhancement, and since we're moving into the end-game for NX 5 (after all, NX 6 will be available mid-year), there is no chance that we would even be able to back-port it, even we wanted to (the last couple of MR's for any release is usually reserved for PR fixes only, meaning NO enhancements).


John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
 
I also made icons for Update and Regenerate display, since they need to be used quite a bit. Used the refresh icon and just changed the colors. Also made an icon for examine geometry. I'm surprised the refresh/regen arent in the standard toolbars.
 
 http://files.engineering.com/getfile.aspx?folder=0e3930b2-218b-4e69-a98f-f03cba81f51d&file=toolbar.JPG
Well since refresh is on the View Pop-Up many people just use it from there. Also, by default, F5 is 'Refresh'.

As for making Regenerate easier to get to, it's generally considered a very 'heavy' solution, in that it takes a long time since it forces a complete re-computation of all display aspects including re-faceting of the entire model (unless you were already viewing faceted bodies) including objects not currently visible. That's why we tend to recommend either 'Refresh' or 'Update Display' since they are very fast. Granted, 'Refresh' only removes temporary objects, but 'Update Display' is sort of like a soft-regen in that if only recomputes the display of visible objects.

Now it is true that as systems get faster the impact of things like Regen's are reduced, but no matter how fast a CPU you have, a full 'Regenerate' will still be the slowest display cleanup command that you can execute.


John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
 
I use update the most, the biggest downfall of it is that when zoomed in on a partially shaded assembly components that are shaded often become displayed as wireframe. Then a regen is required to reset shaded/wf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top