×
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

how to get a pop up window in UG NX, when i click an icon

how to get a pop up window in UG NX, when i click an icon

how to get a pop up window in UG NX, when i click an icon

(OP)
Hi All,

I need an extended pop up window in UG NX, when I click a certain icon, so that additional window contains all the standards or sub standards that can be refered instantly, this saves lot of opening time on other files and documents for reference. Let me know the user interface for this type.
Thanksyou.

RE: how to get a pop up window in UG NX, when i click an icon

If what you're looking for is something where a single icon could allow you to select multiple items, each of which would execute some operation you could use Customize to create what's called a 'Drop Down', as I've done here for illustrative purposes:



Once it's created you then use Customize to assign a different action to each 'Item' in the list.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.

RE: how to get a pop up window in UG NX, when i click an icon

Nrao,

A little more details are needed about the type of "button" that needs to trigger the additional information. Is this a dialog element or a tool bar button that launches the dialog (e.g. ID symbol)?

The toolbar button case can be addressed by using menuscript (see the Automation T-docs) to define a "/PRE" a qualifier to the button action where the /PRE could simply be the url of a document (and the o.s. file extension handling would do the rest - the additional window would be the web browser in the case of a url or notepad for .txt file etc.)

Using the .txt file would allow copy / paste from the extra "window (notepad)" to the NX dialog.

(The example is from NX10 but this should work from at least NX 6 onward)

HTH, Joe


Here is the drafting_modify.men file which goes in the %UGII_SITE_DIR%\startup directory.
The purpose of this file is to customize a drafting application button.
This directs NX to load an additional .men file (modify.men) when the Drafting application (which owns the button that we wish to modify) is started.

CODE --> NX_Menuscript

VERSION 120
EDIT UG_GATEWAY_MAIN_MENUBAR

MODIFY
APPLICATION_BUTTON UG_APP_DRAFTING
MENU_FILES modify.men
END_OF_MODIFY 

Here is the modify.men file which goes in the %UGII_SITE_DIR%\application directory.
This file define the additional button action for the ID Symbol button that launches the text file in the additional window".

CODE --> NX_menuscript

VERSION 120
EDIT UG_GATEWAY_MAIN_MENUBAR
MODIFY
BUTTON UG_DRAFT_CRE_ID_SYMBOLS
ACTIONS /PRE "start \"Custom Window\" d:\ug\v10\site\application\test.txt"
ACTIONS STANDARD
END_OF_MODIFY 



Example Image

RE: how to get a pop up window in UG NX, when i click an icon

Now that I've read Joe's post and reread the original post, I now realize that I misunderstood what was being asked. Therfore, please ignore my post altogether.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.

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