Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

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

Status
Not open for further replies.

nrao

Aerospace
Joined
Feb 26, 2015
Messages
1
Location
US
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.
 
 http://files.engineering.com/getfile.aspx?folder=62247c89-2adf-4958-b6d2-d6a1d1ebe156&file=Capture.JPG
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:

Dropdown%20list_zpsgqkusyxz.png


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.
 
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:
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:
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

getfile.aspx


Example Image
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top