cancel
Showing results for 
Search instead for 
Did you mean: 

Change Application List (file based approach)

Valued Contributor
Valued Contributor

Hi,

 

is it possible to change the entries of the applications in the "Start" gorup with a file based approach?

Start-Applications.png

I found the file "master.dtx" but how do I have to customize the list in a file or directory below UGII_SITE_DIR?

I know that I can use a custom role, but a file based approach would be nice.

 

Thanks,

Stefan

 

Mit freundlichen Grüßen / With kind regards

i.A. Dipl.-Ing. (FH) Stefan Walder
CAD Management
----------------------------------------------------------------------
stefan.walder@gira.de
Tel +49(0)2195-602-319, Fax +49(0)2195-91603-319
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Elektro-Installations-Systeme
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Deutschland

Intelligente Gebäudetechnik von Gira. www.gira.de

Handelsregister AG Köln HRA 16352
Persönlich haftende Gesellschafterin: GAV Management GmbH,
Handelsregister AG Köln HRB 50479
Geschäftsführer: Dipl.-Kfm. Dirk Giersiepen, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Electrical installation systems
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Germany

Intelligent building technology by Gira. www.gira.com

Register of Business Names: AG Köln HRA 16352
Partner Personally Responsible: GAV Management GmbH,
Register of Business Names: AG Köln HRB 50479
Managing Directors: Dipl.-Kfm. Dirk Giersiepen,
Dipl.-Wirtschafts-Ing. (FH) Oliver Borchmann, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial
8 REPLIES

Re: Change Application List (file based approach)

Genius
Genius
Have you tried to put a custom DTX file where you put the old MEN or TBR Files?

Re: Change Application List (file based approach)

Valued Contributor
Valued Contributor

No I don't. Do you know what content this file should have?

 

Mit freundlichen Grüßen / With kind regards

i.A. Dipl.-Ing. (FH) Stefan Walder
CAD Management
----------------------------------------------------------------------
stefan.walder@gira.de
Tel +49(0)2195-602-319, Fax +49(0)2195-91603-319
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Elektro-Installations-Systeme
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Deutschland

Intelligente Gebäudetechnik von Gira. www.gira.de

Handelsregister AG Köln HRA 16352
Persönlich haftende Gesellschafterin: GAV Management GmbH,
Handelsregister AG Köln HRB 50479
Geschäftsführer: Dipl.-Kfm. Dirk Giersiepen, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Electrical installation systems
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Germany

Intelligent building technology by Gira. www.gira.com

Register of Business Names: AG Köln HRA 16352
Partner Personally Responsible: GAV Management GmbH,
Register of Business Names: AG Köln HRB 50479
Managing Directors: Dipl.-Kfm. Dirk Giersiepen,
Dipl.-Wirtschafts-Ing. (FH) Oliver Borchmann, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial

Re: Change Application List (file based approach)

Genius
Genius
The Content it *should* have, should be up to you, shouldn't it? :-)

I would define a folder in my custom_dirs.dat file (or use one) and place a copy of that master.dtx file in it. Then I would try to modify it. The XML strutucture is quite self explanairy I think.
you will find the lines:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<ActionList name="NX_BAR_START_APPLICATIONS" type="popupmenu">
<ActionItems>
<ActionItem name="UG_APP_MODELING" type="button" visibility="1" />
<ActionItem name="UG_APP_SBSM" type="button" style="0" visibility="1" />
<ActionItem name="UG_APP_STUDIO" type="button" visibility="1" />
<ActionItem name="UG_APP_DRAFTING" type="button" visibility="1" />
<ActionItem name="UG_APP_SFEM" type="button" visibility="1" />
<ActionItem name="UG_APP_MECHANISMS" type="button" visibility="1" />
<ActionItem name="UG_APP_MECHATRONICS" type="button" visibility="0" />
<ActionItem name="UG_APP_MANUFACTURING" type="button" visibility="1" />
<ActionItem name="UG_APP_GATEWAY" type="button" visibility="1" />
<ActionItem name="sep_01" type="separator" visibility="1" />
<ActionItem name="UG_APP_MACHINE_TOOL_BUILDER" type="button" visibility="0" />
<ActionItem name="UG_APP_SINUCAST" type="button" visibility="0" />
<ActionItem name="UG_APP_INSPECTION" type="button" visibility="0" />
<ActionItem name="sep_02" type="separator" visibility="1" />
<ActionItem name="UG_APP_DESFEM" type="button" visibility="0" />
<ActionItem name="sep_03" type="separator" visibility="1" />
<ActionItem name="UG_APP_AEROSM" type="button" visibility="0" />
<ActionItem name="UG_APP_SMD_SHEETMETAL_DESIGN" type="button" visibility="0" />
<ActionItem name="UG_APP_PCB_DESIGN" type="cascade" visibility="0" />
<ActionItem name="sep_04" type="separator" visibility="1" />
<ActionItem name="UG_APP_ROUTING" type="cascade" visibility="0" />
<ActionItem name="sep_05" type="separator" visibility="1" />
<ActionItem name="UG_APP_SHIP" type="button" visibility="0" />
<ActionItem name="UG_APP_SHIPSTRUCTUREDESIGN" type="cascade" visibility="0" />
<ActionItem name="sep_06" type="separator" visibility="1" />
<ActionItem name="UG_APP_MOLDWIZARD" type="toggle" visibility="0" />
<ActionItem name="UG_APP_PDIEWIZARD" type="toggle" visibility="0" />
<ActionItem name="UG_APP_ELECTRODE_DESIGN" type="toggle" visibility="0" />
<ActionItem name="UG_APP_EDIEWIZARD" type="toggle" visibility="0" />
<ActionItem name="UG_APP_OMNICAD" type="toggle" visibility="0" />
<ActionItem name="UG_APP_VEHICLE_MANUFACTURING_AUTOMATION" type="cascade" visibility="0" />
<ActionItem name="sep_07" type="separator" visibility="1" />
<ActionItem name="UG_APP_ASSEMBLIES" type="toggle" style="2" visibility="1" />
<ActionItem name="UG_APP_PMI" type="toggle" style="2" visibility="1" />
<ActionItem name="UG_APP_KNOWLEDGE_FUSION" type="toggle" style="2" visibility="0" />
<ActionItem name="sep_08" type="separator" visibility="1" />
<ActionItem name="UG_APPLICATION" type="cascade" title="&amp;All Applications" visibility="1" />
<ActionItem name="UG_APP_PTS" type="button" visibility="0" />
<ActionItem name="UG_APP_STYLER1" type="button" visibility="0" />
</ActionItems>
</ActionList>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

There could try to begin. (set the visbility to 0, or Change the order of the items)

Re: Change Application List (file based approach)

Valued Contributor
Valued Contributor

I put a copy in my "startup" directory where my .men files are.

I changed the visibility to 1.

It don't work.

 

Then I changed the <Content mode="create"> to <Content mode="edit">.

But I don't work.

 

Any idea?

Mit freundlichen Grüßen / With kind regards

i.A. Dipl.-Ing. (FH) Stefan Walder
CAD Management
----------------------------------------------------------------------
stefan.walder@gira.de
Tel +49(0)2195-602-319, Fax +49(0)2195-91603-319
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Elektro-Installations-Systeme
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Deutschland

Intelligente Gebäudetechnik von Gira. www.gira.de

Handelsregister AG Köln HRA 16352
Persönlich haftende Gesellschafterin: GAV Management GmbH,
Handelsregister AG Köln HRB 50479
Geschäftsführer: Dipl.-Kfm. Dirk Giersiepen, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Electrical installation systems
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Germany

Intelligent building technology by Gira. www.gira.com

Register of Business Names: AG Köln HRA 16352
Partner Personally Responsible: GAV Management GmbH,
Register of Business Names: AG Köln HRB 50479
Managing Directors: Dipl.-Kfm. Dirk Giersiepen,
Dipl.-Wirtschafts-Ing. (FH) Oliver Borchmann, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial

Re: Change Application List (file based approach)

Genius
Genius
can you search in the syslog of the NX session for dtx? What DTX File is NX using?

btw: I would not change the content mode :-)

Re: Change Application List (file based approach)

Valued Contributor
Valued Contributor

Only one entry found in nx syslog:

NX loaded C:\PROGRA~1\CAX\NX10.0\ugii\menus\master.dtx file as INTERNAL data

This is not my changed file.

 

Mit freundlichen Grüßen / With kind regards

i.A. Dipl.-Ing. (FH) Stefan Walder
CAD Management
----------------------------------------------------------------------
stefan.walder@gira.de
Tel +49(0)2195-602-319, Fax +49(0)2195-91603-319
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Elektro-Installations-Systeme
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Deutschland

Intelligente Gebäudetechnik von Gira. www.gira.de

Handelsregister AG Köln HRA 16352
Persönlich haftende Gesellschafterin: GAV Management GmbH,
Handelsregister AG Köln HRB 50479
Geschäftsführer: Dipl.-Kfm. Dirk Giersiepen, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Electrical installation systems
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Germany

Intelligent building technology by Gira. www.gira.com

Register of Business Names: AG Köln HRA 16352
Partner Personally Responsible: GAV Management GmbH,
Register of Business Names: AG Köln HRB 50479
Managing Directors: Dipl.-Kfm. Dirk Giersiepen,
Dipl.-Wirtschafts-Ing. (FH) Oliver Borchmann, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial

Re: Change Application List (file based approach)

Genius
Genius
so it seems to be trickier. I found out that the master.dtx I was looking at does not describe these Buttons because the order in the file is different than the buttons in NX...

Re: Change Application List (file based approach)

Valued Contributor
Valued Contributor

I now use a copy of UG_APP_MODELING.dtx

and added some lines to it:

UG_APP_MODELING.dtx.png

This works for modeling.

After that I also chnaged the dtx files for drafting, gateway and sheet metal.

 

This works fine for me.

 

Mit freundlichen Grüßen / With kind regards

i.A. Dipl.-Ing. (FH) Stefan Walder
CAD Management
----------------------------------------------------------------------
stefan.walder@gira.de
Tel +49(0)2195-602-319, Fax +49(0)2195-91603-319
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Elektro-Installations-Systeme
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Deutschland

Intelligente Gebäudetechnik von Gira. www.gira.de

Handelsregister AG Köln HRA 16352
Persönlich haftende Gesellschafterin: GAV Management GmbH,
Handelsregister AG Köln HRB 50479
Geschäftsführer: Dipl.-Kfm. Dirk Giersiepen, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Electrical installation systems
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Germany

Intelligent building technology by Gira. www.gira.com

Register of Business Names: AG Köln HRA 16352
Partner Personally Responsible: GAV Management GmbH,
Register of Business Names: AG Köln HRB 50479
Managing Directors: Dipl.-Kfm. Dirk Giersiepen,
Dipl.-Wirtschafts-Ing. (FH) Oliver Borchmann, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial