My config.pro
This is an attempt at pulling together all the config settings and mapkeys I reference in the FAQ. Towards that end, I’ve decided to add links to posts describing these mapkeys. I’ll try to keep a plain text version for download. I’ve had no trouble cutting and pasting into a simple text editor like Notepad. The hyperlinks are not copied.
There are many more options that I haven’t discussed, such as path settings, and many defaults that I don’t bother with.
I usually put my config.pro options at the top. Mapkeys follow, organized into several sections: first, my mapkey fragments or “stubs”, then my working mapkeys, “macro” mapkeys, mapkey aliases, and finally, my $F keys.
! Validate with config.pro check utility Wildfire 4.0 (F000)
! available if needed accuracy_lower_bound .000001 ! comment out some options temporarily !cleanup_drawing_dependencies yes ! new and improved comp_assemble_start package ! mainly for Intralink users create_drawing_dims_only yes ! limited number of default layers def_layer layer_axis axes def_layer layer_cosm_sketch cosmetics def_layer layer_curve curves def_layer layer_gtol gtols def_layer layer_datum planes def_layer layer_point points def_layer layer_surface surfaces def_layer layer_thread_features threads ! helpful with merges enable_absolute_accuracy yes ! seems to be improved fasthlr yes ! keep as an option on imports !intf_in_blanked_entities no ! generally preferred intf_out_blanked_entities no ! the default is ugly keep_info_datums no ! personal model tree config mdl_tree_cfg_file $HOME/tree.cfg ! can't stand waiting for the animation max_animation_time 0 ! I prefer to maximize my window, your mileage may vary open_window_maximized yes ! as a drafter, preselection is most efficient, modelers may disagree prehighlight yes ! OK, so I have one transparent color in my color map pro_colormap_path $HOME ! helps delineate edges while shading with a light file show_shaded_edges yes ! save time by locking dimensions as you go sketcher_lock_modified_dims yes ! most common dimensional value for inch drawings sketcher_dec_places 2 ! annoying spin_center_display no ! fastest way to add symbols to drawings symbol_instance_palette_file $HOME/symbols/symbols.drw ! mapkey organization: put stubs first, then working mapkeys, then $F keys ! lots of people try to keep mapkeys on the left side of the keyboard ! "bang-bang" keys are faster (``, ff) and usually available ! pick an uncommon key to define your stubs ! you can give longer names to stubs since you don't have to re-type them ! Common datum control stub mapkey ~datums ~ Select `main_dlg_cur` `MenuBar1`1 `View`; mapkey(continued) ~ Select `main_dlg_cur` `View.cb_view_advanced`; mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`; mapkey(continued) ~ Close `main_dlg_cur` `View.cb_view_advanced`; mapkey(continued) ~ Activate `main_dlg_cur` `psh_view_dtmdisp`; ! sets drawing filter to view mapkey ~dview ~ Select `main_dlg_cur` `Sst_bar.filter_list`1 `11_Drawing View_SEL FILTER`; ! a little stub used to start draft grids mapkey ~grid ~ Activate `main_dlg_cur` `View.psh_view_draft_grid`; ! sets drawing filter to drawing item mapkey ~item ~ Select `main_dlg_cur` `Sst_bar.filter_list`1 `1_Drawing Item_SEL FILTER`; ! loads a light file mapkey ~light ~ Activate `main_dlg_cur` `psh_view_lights`; mapkey(continued) ~ Activate `pgl_light_editor` `Open`; mapkey(continued) ~ Update `file_open` `Inputname` `$HOME/3lights`; mapkey(continued) ~ Activate `file_open` `Inputname`;~ Activate `pgl_light_editor` `StdClose`; ! This mapkey sets display to Hidden / No Tangents mapkey ~hidden ~ Select `main_dlg_cur` `ProCmdEnvMdlDisp.mdisp` 1 `Hidden line`; mapkey ~notan ~ Select `main_dlg_cur` `ProCmdEnvEdgeStyle.ddisp` 1 `No Disp Tan`; ! sets drawing filter to note mapkey ~note ~ Select `main_dlg_cur` `Sst_bar.filter_list`1 `17_Note_SEL FILTER`; ! open files by type mapkey ~open ~ Select `main_dlg_cur` `MenuBar1`1 `File`; mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;~ Activate `main_dlg_cur` `File.psh_open`; mapkey(continued) ~ Open `file_open` `Type`;~ Close `file_open` `Type`; ! a stub to intro printing mapkeys mapkey ~print ~ Activate `main_dlg_cur` `File.psh_print`; ! classic zoom refit mapkey ~refit ~ Activate `main_dlg_cur` `ProCmdViewRefit.view`; ! this is an overloaded mapkey that works in assembly, part or drawing mode to regenerate the model mapkey ~regen ~ Activate `main_dlg_cur` `Edit.pshRegenAuto`; mapkey(continued) ~ Activate `main_dlg_cur` `Edit.pshRegenPart`; mapkey(continued) ~ Activate `main_dlg_cur` `psh_dwg_regen_model`;#AUTOMATIC; ! ordinary default orientation mapkey ~reorient ~ Activate `main_dlg_cur` `psh_view_default`; ! classic repaint mapkey ~repaint ~ Activate `main_dlg_cur` `ProCmdViewRepaint.view`; ! old time save macro mapkey ~save #DBMS;#Save;; ! for Pro/INTRALINK users !mapkey ~saveall ~ Activate `main_dlg_cur` `File.psh_save_all_changed`; !mapkey(continued) ~ Activate `infodlg` `okbutton`; ! activate shaded mode mapkey ~shade ~ Select `main_dlg_cur` `ProCmdEnvMdlDisp.mdisp`1 `Shading`; ! return sketcher to sketch view mapkey ~sview ~ Activate `main_dlg_cur` `ProCmdViewSketchView.sket`; ! set drawing filter to "table" because tables are hard to select with preselection on mapkey ~table ~ Select `main_dlg_cur` `Sst_bar.filter_list`1 `22_Table_SEL FILTER`; ! a stub to intro named views mapkey mapkey ~view ~ Activate `main_dlg_cur` `ProCmdViewNamePick.view`1 ; ! A bunch of grid snaps (usually tuned to your text size, in this case, .125) ! resets grid angle/spacing to default mapkey 0 %~grid;#GRID PARAMS;#ANGLE;0;#X&Y SPACING;1; ! complements balloon alignment and resets to default text height mapkey 1 %~grid;#GRID PARAMS;#ANGLE;15;#X&Y SPACING;.125; mapkey 3 %~grid;#GRID PARAMS;#ANGLE;30; mapkey 4 %~grid;#GRID PARAMS;#ANGLE;45; ! half height grid for aligning text; especially good for symbols mapkey 6 %~grid;#GRID PARAMS;#ANGLE;60;#X&#Y Spacing;.0625; ! special grid for balloon alignment mapkey 7 %~grid;#GRID PARAMS;#ANGLE;75;#X&Y SPACING;.25; ! grid angle reset mapkey 9 %~grid;#GRID PARAMS;#ANGLE;90; ! open properties dialog mapkey " ~ Activate `main_dlg_cur` `Edit.psh_dwg_props`; mapkey(continued) ~ Select `mod_dim_asynch` `tab_main`1 `lay_dim_text`; ! open files by type aa=.asm, dd=.drw, pp=.prt mapkey aa %~open; ~ Select `file_open` `Type`1 `db_1`; mapkey dd %~open; ~ Select `file_open` `Type`1 `db_4`; mapkey pp %~open; ~ Select `file_open` `Type`1 `db_2`; ! add a drawing balloon offset from dimension or symbol mapkey bb ~ Activate `main_dlg_cur` `Insert.psh_dwg_balloon`;#OFFSET;#MAKE NOTE; ! center dimensions mapkey cc ~ Select `main_dlg_cur` `MenuBar1`1 `Edit`; mapkey(continued) ~ Activate `main_dlg_cur` `psh_dwg_cleandims`; mapkey(continued) ~ Activate `clean_dims2` `snaplines`0 ;~ Activate `clean_dims2` `space`0 ; mapkey(continued) ~ Select `clean_dims2` `Tab1`1 `cosmetic`;~ Activate `clean_dims2` `flip`0 ; mapkey(continued) ~ Activate `clean_dims2` `apply`;~ Activate `clean_dims2` `close`; ! mapkeys to toggle prehighlight on/off mapkey ff ~ Activate `main_dlg_cur` `psh_sel_filter`; mapkey(continued) ~ Activate `selprefs` `PrehButton`;~ Activate `selprefs` `Ok`; ! open symbol pallette mapkey ss ~ Activate `main_dlg_cur` `psh_dwg_sym_from_pal`; ! Reset x-sections to "none" mapkey xx ~ Activate `visual_dlg0` `Activate`; ~ Activate `visual_dlg0` `CloseBtn`; ! Turn datums on mapkey dn %~datums; ~ Activate `datumdisplay` `DtmDsply_PB_DtmPlanes`1 ; mapkey(continued) ~ Activate `datumdisplay` `DtmDsply_PB_DtmAxes`1 ; mapkey(continued) ~ Activate `datumdisplay` `DtmDsply_PB_DtmPnts`1 ; mapkey(continued) ~ Activate `datumdisplay` `DtmDsply_PB_CSys`1 ; mapkey(continued) ~ Activate `datumdisplay` `DtmDsply_PB_Ok`; ! Turn datums off mapkey df %~datums; ~ Activate `datumdisplay` `DtmDsply_PB_DtmPlanes`0 ; mapkey(continued) ~ Activate `datumdisplay` `DtmDsply_PB_DtmAxes`0 ; mapkey(continued) ~ Activate `datumdisplay` `DtmDsply_PB_DtmPnts`0 ; mapkey(continued) ~ Activate `datumdisplay` `DtmDsply_PB_CSys`0 ; mapkey(continued) ~ Activate `datumdisplay` `DtmDsply_PB_Ok`; ! turn grid off mapkey gf %~grid;#HIDE GRID; ! turn grid on mapkey gn %~grid;#SHOW GRID; ! turn on grid snap mapkey gs #ENVIRONMENT;#GRID SNAP;~ Activate `env_dlg` `OK_`; ! Relate highlighted object to view mapkey gv ~ Activate `main_dlg_cur` `psh_dwg_rel_to_view`; ! re-orient to iso view mapkey iso ~ Activate `main_dlg_cur` `ProCmdViewOrient.view`; mapkey(continued) ~ Select `orient` `SetupOptions`1 `dynorient`; mapkey(continued) ~ Activate `orient` `spinPH.YSpinBox`-45 ; mapkey(continued) ~ Activate `orient` `spinPH.XSpinBox`35.264 ; mapkey(continued) ~ Activate `orient` `OkPB`; mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdViewRefit.view`; ! convert units to mmKs mapkey kg ~ Activate `main_dlg_cur` `Edit.pshSetup`;#UNITS; mapkey(continued) ~ Select `um_finder` `SystemsFinderList`1 `sysunits7`; mapkey(continued) ~ Activate `um_finder` `PrincipalPush`;~ Activate `um_sys_conv_new` `OKStd`; mapkey(continued) ~ Activate `um_finder` `ClosePush`; ! mapkey to load my personal config.pro from $HOME directory mapkey me ~ Activate `main_dlg_cur` `Utilities.psh_util_pref`; mapkey(continued) ~ Activate `preferences` `Open`; mapkey(continued) ~ Update `file_open` `Inputname` `$HOME/config.pro`; mapkey(continued) ~ Activate `file_open` `Inputname`;~ Activate `preferences` `ok`; ! modelCHECK mapkey mc ~ Activate `main_dlg_cur` `MC`;#TOP LEVEL;n; ! add text to dims or symbols with an offset note mapkey no ~ Activate `main_dlg_cur` `Insert.psh_dwg_note`;#OFFSET;#CENTER; #MAKE NOTE; ! print macro that zooms extents, saves the current object, and prints mapkey pb %df;%~hidden;%~notan;%~refit;%~save;%~print; mapkey(continued) ~ Activate `print` `Your Printer Here`; mapkey(continued) ~ Activate `print` `OK`; ! inmprove shade quality mapkey qs ~ Activate `main_dlg_cur` `psh_view_mdldisp`; mapkey(continued) ~ Update `modeldisplay` `ModDsply_SB_ShadeQlty`10 ; mapkey(continued) ~ Activate `modeldisplay` `ModDsply_PB_OK`; ! dependable quit window mapkey qw %~reorient;~%refit;#Quit Window; ! set spin center to edge mapkey sc ~ Activate `main_dlg_cur` `ProCmdViewOrient.view`; mapkey(continued) ~ Select `orient` `SetupOptions`1 `setup`; mapkey(continued) ~ Select `orient` `spincentPH.SpinCentRadio`1 `EdgeAxis`; mapkey(continued) @PAUSE_FOR_SCREEN_PICK;~ Activate `orient` `OkPB`; ! switch dims still works mapkey sd #Info;#Switch Dim; ! load color scheme to distinguish sessions mapkey s1 ~ Activate `main_dlg_cur` `psh_util_colors_sys`; mapkey(continued) ~ Activate `color_scheme` `Open`; mapkey(continued) ~ Update `file_open` `Inputname` `$HOME/session1`; mapkey(continued) ~ Activate `file_open` `Inputname`;~ Activate `color_scheme` `OK`; mapkey s2 ~ Activate `main_dlg_cur` `psh_util_colors_sys`; mapkey(continued) ~ Activate `color_scheme` `Open`; mapkey(continued) ~ Update `file_open` `Inputname` `$HOME/session2`; mapkey(continued) ~ Activate `file_open` `Inputname`;~ Activate `color_scheme` `OK`; ! Toggle transparency mapkey tt ~ Activate `main_dlg_cur` `psh_view_mdldisp`; mapkey(continued) ~ Activate `modeldisplay` `ModDsply_ChkB_Transprncy`; mapkey(continued) ~ Activate `modeldisplay` `ModDsply_PB_OK`; ! A bunch of view mapkeys mapkey vb %~view;~ Select `nameviewlist` `nv_list`1 `BOTTOM`; mapkey vf %~view;~ Select `nameviewlist` `nv_list`1 `FRONT`; mapkey vi %~view;~ Select `nameviewlist` `nv_list`1 `ISO`; mapkey vk %~view;~ Select `nameviewlist` `nv_list`1 `BACK`; mapkey vl %~view;~ Select `nameviewlist` `nv_list`1 `LEFT`; mapkey vr %~view;~ Select `nameviewlist` `nv_list`1 `RIGHT`; mapkey vt %~view; ~ Select `nameviewlist` `nv_list`1 `TOP`; ! Unhide all components mapkey vu ~ Activate `main_dlg_cur` `psh_view_showall`; ! Most of the time $F keys should just be aliases for (combinations of) other mapkeys: mapkey $F2 %~regen; mapkey $F3 %~repaint; mapkey $F4 %~sview;%~refit; mapkey $F5 %~item; mapkey $F6 %~table; mapkey $F7 %~note; ! load a light file, increase shade quality, and switch to shaded mode mapkey $F8 %~light;%qs;%~shade;
hi..
i wanna set the layer settings such that whenever i draw a surface or a solid etc, it must be moved automatically to its respective layer, without manually moving it. should any config.pro settings be changed or is it possible without it?
The def_layer statements will assign a limited subset of entities to layers as they are created. For a discussion of all the available default layer possibilities, search the archive for def_layer, particulary:
http://www.proefaq.com/archive/282.html
How can you live with not changing the default position to isometric?
Also Autocalc mass is a bit of a nuisance, until you get used to assigning a density to the materials.
Mine’s a few less comments, but a little more metric….
….and don’t forget the default directory stuff too.
Andy,
I tried an isometric default orientation once, but I work with vehicles a lot and relate better to a plan view, so trimetric is my preference.
I’ve also had a few problems with mass_property_calc before, so I just leave it default to “by_request”.
Silly question here, how do I set a .pro file as the default? I would like to make changes (particularly to where Pro/E sends the .trail files), but I can’t figure out how to tell the program to load MY .pro file as the default. Thanks!
Luke,
You’re stuck with the $LOADPOINTtext, $HOME, $STARTUP load sequence for config.pro files, unless you implement a startup script or manually load config.options. Ordinarily, your config.pro file will supersede the config.pro’s loaded before it, but different organizations have different ideas.
I’m fond of putting “trail_dir $TEMP” in the $LOADPOINTtext, but lots of people take a little more control and specify a different trail directory, especially if they have a batch file to clean up old trail files.
Of course, there is a chance that someone has put a “trail_dir” statement in a config.sup file, which trumps any other config.pro file. (Disclaimer: it seems there may have been a bug with that somewhere between 2001 and Wildfire 2 M170.)
often I use a special freeware config.pro editor named “crossfire” I found somewhere in the web. clearly-presented (also some hidden) options.
I´ve testet it and it´s great ! (many functions) The config or dtl options are not complete (but there for some hidden) but you can add them by your own. you can open pro sup and dtl files directly out of windows explorer.
Here’s an updated link to the crossfire editor (English doc)
http://proe.cad.de/downloads/crossfire.html