cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

jlink - programimportinstructions question

Highlighted
Level 1

jlink - programimportinstructions question

Is it possible to use the program import instructions to tell the program to
choose "Abort" if the "There are errors - abort or edit?" dialog pops up?



--



Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
<">mailto:-> -
<">http://www.mgsincorporated.com>
1 REPLY 1

RE: jlink - programimportinstructions question

Hi Lyle,

If you are using the pro/program menu, this might help:

There is an “old school” way to customize the menu manager including adding picks and setting defaults. It’s a text file called menu_def.pro. It should be saved where your config.pro is. You can look it up in the pro/e help or pick what you like out of mine.

I should warn you to be careful. With this tool, you can force default selections which could cause trouble.

!--------------------------------------

! always abort if there are program errors

PROG#ERROR Abort

!For old style features like sweeps

SKET#VIEW Top

@SETBUTTON DIRECTION FLIP#OK #Flip;#Okay; FLIP PLUS OK

! shortcuts for x-sections in drawings

@SETBUTTON MOD#XHATCH HALF#SPACE "#Spacing;#Half;" "Halves the space"

@SETBUTTON MOD#XHATCH DOUBLE#SPACE #Spacing;#Double; "Doubles the space"

@SETBUTTON MOD#XHATCH A30#S02 "#Angle;#30;#Spacing;#Value;.06;;"\

"set angle to 30 and spacing to .02"

@SETBUTTON MOD#XHATCH A60#S02 "#Angle;#60;#Spacing;#Value;.06;;"\

"set angle to 60 and spacing to .02"

@SETBUTTON MOD#XHATCH A120#S02 "#Angle;#120;#Spacing;#Value;.06;;"\

"set angle to 120 and spacing to .02"

@SETBUTTON MOD#XHATCH A150#S02 "#Angle;#150;#Spacing;#Value;.06;;"\

"set angle to 150 and spacing to .02"

@SETBUTTON MOD#XHATCH A30#S06 "#Angle;#30;#Spacing;#Value;.06;;"\

"set angle to 30 and spacing to .06"

@SETBUTTON MOD#XHATCH A60#S06 "#Angle;#60;#Spacing;#Value;.06;;"\

"set angle to 60 and spacing to .06"

@SETBUTTON MOD#XHATCH A120#S06 "#Angle;#120;#Spacing;#Value;.06;;"\

"set angle to 120 and spacing to .06"

@SETBUTTON MOD#XHATCH A150#S06 "#Angle;#150;#Spacing;#Value;.06;;"\

"set angle to 150 and spacing to .06"

@SETBUTTON MOD#XHATCH Aluminum "#Retrieve;aluminum;" "Import from file."

@SETBUTTON MOD#XHATCH Steel "#Retrieve;steel;" "Import from file."

@SETBUTTON MOD#XHATCH Copper "#Retrieve;copper;" "Import from file"

@SETBUTTON MOD#XHATCH Titanium "#Retrieve;titanium;" "Import from file"

!DO YOU EVER WANT TO STAY IN RESOLVE MODE?

YES/NO YES


!navigate resolve mode more quickly

@SETBUTTON RESOLVE#FEAT REDEF_FAIL #QUICK FIX;#REDEFINE;#Confirm;

@SETBUTTON RESOLVE#FEAT REROUTE_FAIL #QUICK FIX;#REROUTE;#Confirm;

@SETBUTTON RESOLVE#FEAT SUPRESS_FAIL #QUICK FIX;#SUPPRESS;#Confirm;

@SETBUTTON RESOLVE#FEAT DELETE_FAIL #QUICK FIX;#DELETE;#Confirm;

@SETBUTTON RESOLVE#FEAT FREEZE_FAIL #QUICK FIX;#FREEZE;#Confirm;

!sample!

!setbutton menuname menuitem "ActionDefinition" "ShortHelp"

![@setbutton PART Shade#Obj "#view;#shade;"\

!"Shade an object."]

!@SETBUTTON SMT#SETUP ---------

!@SETBUTTON SMT#SETUP DFS#TABLE "#Bend Allow;#Bend Table;#Set;#Confirm;#From File;#aviation-mechanic-handbook" "USE DFS Bend allowance"

!@SETBUTTON SMT#SETUP ---------