PRO/E配置文件的类型:
PRO/E的配置文件的类型从后缀来分主要有config.pro和config.sup两种,其中config.pro 是一般类型的配置文件,而config.sup是受保护的系统配置文件,也就是强制执行的配置 文件,如果有其他配置文件里的项目和这个文件里的冲突则以这个文件里的配置为准,例 如在config.sup里配置了如下项目:
save_drawing_picture_file yes
而在其他的config.pro里设置了
save_drawing_picture_file no
则以config.sup里的设置为准,即在保存绘图时,将绘图文件保存为画面文件。
PRO/E的配置文件读取顺序如下:
1.在启动PRO/E时,首先读取的文件是在PRO/E安装目录下的TEXT文件夹内的config.sup文 件,也就是我们前面讲到的强制执行的文件,这个文件一般用于进行企业强制执行标准的配 置。
例如PRO/E安装在C盘下,则一般为:
C:\program files\proeWildfire 5.0\text\config.sup
2.第二步读取的文件是在PRO/E安装目录下的TEXT文件夹内的config.pro文件。可以使用此 文件设置库目录的路径。
3.第三步是读取本地目录中的config.pro文件,所谓本地目录也就是在工作中为了方便建立在启动目录上一级的目录,可以使用此文件从多个不同的工作目录中启动PRO/E。
例如启动目录为D:\user\zhang 则D:\user目录就是本地目录。
4.第四步是读取启动目录中的config.pro文件,也就是上例讲的D:\user\zhang目录。由于 系统是最后读取此目录中的配置文件,所以该文件里的配置会覆盖任何和它冲突的config. pro文件,但是不能覆盖config.sup文件内的配置。一般用这里的config.pro文件来进行环 境变量、映射键和搜索本地工作目录的路径设置。
5.最后要读取的就是系统的缺省配置值,也就是在以上所有目录下的配置文件都没有涉及到的配置项目都要按系统的缺省值进行配置。
一般情况下,如果你对config文件的配置项目比较熟悉,应该在启动PRO/E之前进行配置,在这种情况下一般是用"记事本"进行编辑。不过由于config文件的配置项目过于繁多,所以一般人不可能都了解,这样就需要在启动PRO/E后使用"优先选项"进行配置。
最后附送配置好的文档并配有常用快捷键,可直接复制保存为配置文件使用:
default_ext_ref_scope ALL
set_trail_single_step NO
native_kbd_macros NO
open_simplified_rep_by_default NO
show_dim_sign NO
enable_absolute_accuracy YES
auto_evaluate_simprep_rules YES
accuracy_lower_bound .0000001
protkdat D:\Program Files\PTC\emx7.0\bin\wildfire5\protk.dat
x_angle -50
y_angle -20
orientation USER_DEFAULT
blended_transparency NO
protkdat D:\Program Files\PTC\pdx7.0\bin\wildfire5\protk.dat
save_objects changed
pro_font_dir C:\WINNT\Fonts
pro_group_dir D:\Program Files\PTC\UDF
drawing_setup_file $PRO_DIRECTORY\text\iso.dtl
format_setup_file $PRO_DIRECTORY\text\iso.dtl
system_colors_file $PRO_DIRECTORY\text\syscol.scl
trail_dir E:\PTC
save_objects changed_and_updated
template_mfgcast $PRO_DIRECTORY\templates\mmns_mfg_cast.asm
template_mfgcmm $PRO_DIRECTORY\templates\mmns_mfg_cmm.asm
template_mfgemo $PRO_DIRECTORY\templates\mmns_mfg_emo.asm
template_mfgmold $PRO_DIRECTORY\templates\mmns_mfg_mold.asm
template_mfgnc $PRO_DIRECTORY\templates\mmns_mfg_nc.asm
template_mold_layout $PRO_DIRECTORY\templates\mmns_mold_lay.asm
template_sheetmetalpart $PRO_DIRECTORY\template\mmns_part_sheetmetal.prt
template_solidpart $PRO_DIRECTORY\template\mmns_part_solid.prt
template_designasm $PRO_DIRECTORY\template\mmks_asm_design.asm
template_drawing $PRO_DIRECTORY\template\a4_drawing.drw
axis_display no
add_weld_mp yes
angular_tol 0 1
angular_tol 1 0.5
angular_tol 2 0.25
ang_units ANG_DEG
ang_dim_in_screen yes
auto_regen_views yes
auto_convert_cables yes
allow_anatomic_features yes
allow_old_style_round no
allow_udf_style_cosm_threads no
allow_package_children none
allow_redo_intersections yes
allow_ref_scope_change yes
allow_move_attach_in_dtl_move yes
allow_move_view_with_move yes
allow_rfs_default_gtols_always yes
auto_associate_dimensions yes
auto_assembly_with_layouts yes
allow_ply_cross_section yes
allow_refs_to_geom_reps_in_drws no
allow_anatomic_features yes
color yes
color_windows all_windows
cl_arrow_scale 0
company_name Rosuvane
copy_dxf_dim_pict yes
create_drawing_dims_only yes
create_fraction_dim no
clr_print_plus_minus yes
comp_assemble_start constrain_in_window
comp_rollback_on_redef yes
create_numbered_layers no
chamfer_45deg_dim_text iso/din
display shade
datum_display yes
datum_point_display no
depthcue_always yes
dim_offscreen_limit 1.0
display_comps_to_assemble yes
diagram_pin_edit_multi_line yes
delete_after_plotting yes
display_dwg_tol_tags yes
draw_models_read_only no
draw_points_in_model_units no
drawing_view_origin_csys no
dwg_select_across_pick_box no
default_ext_ref_scope all
display_in_adding_view default
default_dec_places 2
default_ang_dec_places 2
default_dim_num_digits_changes yes
default_object_scope_setting all
default_font 10
display shade
display_coordinate_sys yes
display_coord_sys_tags no
display_coord_sys no
default_draw_scale 1
enable_popup_help yes
enable_offset_fan_curve yes
enable_flexmove_tool yes
enable_absolute_accuracy yes
fail_unattached_feature yes
fail_if_sec_regen_warning no
flip_arrow_scale 2
full_hlr_for_cables full
file_open_default_folder working_directory
fix_boundaries_on_import yes
fix_refs_to_intersections no
freeze_failed_assy_comp no
fail_ref_copy_when_missing_orig yes
feature_create_auto_begin yes
feature_create_auto_ok no
grid_snap no
gtol_dim_placement under_value
hlr_for_quilts yes
hole_diameter_override yes
highlight_new_dims yes
highlight_erased_dwg_views no
info_output_mode both
iges_out_trm_srfs_as_143 YES
interface_quality 3
intf_out_blanked_entities yes
intf3d_in_close_open_boundaries yes
instance_search_exhaustive no
kbd_cmd_abbreviation off
keep_info_datums yes
linear_tol 1 0.04
linear_tol 2 0.01
linear_tol 3 0.005
linear_tol 4 0.0005
logical_objects yes
let_proe_rename_pdm_objects no
menu_font 10
menu_translation both
mesh_spline_surf no
mark_approximate_dims yes
model_grid_spacing 1
maintain_limit_tol_nominal yes
make_parameters_from_fmt_tables no
make_proj_view_notes no
measure_sig_figures 6
menu_show_instances no
model_tree_start yes
ncpost_type gpost
number_user_colors 16
nt_cache_dirs yes
orientation trimetric
override_store_back no
orthogonal_snap yes
pro_unit_length unit_mm
pro_unit_sys mmns
pick_aperture_radius 7
punch_axis_points yes
plot_linestyle_scale 1
pro_unit_length UNIT_mm
pro_unit_mass UNIT_gram
pro_unit_sys mmns
plotter_command windows_print_manager
pro_editor_command notepad
protable_in_background no
provide_pick_message_always yes
package_constraints disallow
parenthesize_ref_dim no
pick_chain_tangent_only yes
postscript_compression yes
ps_output_with_pagesize yes
propagate_change_to_parents no
pipe_solid_centerline no
pipe_3d_bend_theor_int_pts yes
relation_file_editor editor
remember_last_get_point_option yes
retain_pattern_definition yes
read_famtab_file_on_retrieve no
regen_backup_using_disk no
rename_drawings_with_object both
startup_check_for_visualization no
save_drawing_picture_file embed
spin_rate_zoom_sensitive yes
spin_with_part_entities yes
spin_with_silhouettes yes
system_background_color 0.000000 7.058824 19.607843
show_axes_for_extr_arcs no
show_dim_sign no
show_geom_checks_on_creation yes
sketcher_animated_modify yes
sketcher_disp_constraints yes
sketcher_disp_dimensions yes
sketcher_disp_vertices yes
sketcher_undo_stack_limit 200
sketcher_starts_in_2d yes
sketcher_intent_manager yes
scope_invalid_refs prohibit
shade_moving_comp yes
save_bitmap none
summary_help yes
shade_mfg_ref_models yes
store_tool_path_file no
save_model_display shading_lod
save_object_in_current yes
save_instance_accelerator none
save_modified_draw_models_only no
save_objects changed_and_updated
save_unchanged_pdm_object as_ref
selection_of_removed_entities no
switch_dims_for_notes yes
sym_leader_orient_move_text no
symbol_palette_input yes
topobus_enable yes
tol_display no
tol_mode nominal
todays_date_note_format %dd-%Mmm-%yyyy
tiff_compression g4
tiff_type grayscale
tolerance_standard ANSI
thermo_position_hint no_window_overlap
update_pre_130_harness yes
update_pre_16_cable_layers yes
use_pre_wildfire_color_scheme YES
use_major_units no
variant_drawing_item_sizes no
vrml_anchor_url no
vrml_background_color no
vrml_explode_lines yes
vrml_export_resolution medium
vrml_file_duplicate_material yes
vrml_multiple_views all
vrml_simprep_export yes
vrml_parameters designated
weld_ui_standard iso
www_add_aux_frame no
www_export_geometry_as jpg_vrml
www_multiple_views all
www_tree_location in
mapkey $F1 @MAPKEY_LABEL着色;~ Command `ProCmdEnvMdlDisp` `Shading`;\
mapkey(continued) ~ Command `ProCmdViewDefault`;
mapkey $F2 @MAPKEY_LABEL隐藏线;~ Command `ProCmdEnvMdlDisp` `Hidden line`;\
mapkey(continued) ~ Command `ProCmdViewDefault`;
mapkey $F3 @MAPKEY_LABEL拭除不显示;~ Command `ProCmdModelEraseNotDisp` ;\
mapkey(continued) ~ Activate `file_erase_nd` `ok_pb`;
mapkey $F4 @MAPKEY_LABEL拭除当前;~ Select `main_dlg_cur` `MenuBar1`1 `File`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Select `main_dlg_cur` `File.cb_file_erase`;\
mapkey(continued) ~ Close `main_dlg_cur` `File.cb_file_erase`;\
mapkey(continued) ~ Activate `main_dlg_cur` `psh_erase`;~ Activate `0_std_confirm` `OK`;
mapkey $F5 @MAPKEY_LABEL基准平面;~ Command `ProCmdEnvDtmDisp` 1;
mapkey $F6 @MAPKEY_LABEL基准轴;~ Command `ProCmdEnvAxisDisp` 1;
mapkey $F7 @MAPKEY_LABEL基准点;~ Command `ProCmdEnvPntsDisp` 1;
mapkey $F8 @MAPKEY_LABEL真实感;~ Command `ProCmdEnvColors` 1 ;\
mapkey(continued) ~ Command `ProCmdViewRenderRTFloor` 1;
mapkey $F11 @MAPKEY_LABEL删除所有版本;~ Command `ProCmdModelDelete` ;\
mapkey(continued) ~ FocusIn `UI Message Dialog` `yes`;~ Activate `UI Message Dialog` `yes`;
mapkey $F12 @MAPKEY_LABEL删除旧版本;~ Command `ProCmdFilePurge` ;;
mapkey pu @SYSTEMpurge;%\del;
mapkey \del @SYSTEMdel *.log.* *.err.* *.inf.* *.lst.* *.crc *.acc *.ger *.ers *.m_p *.bak *.bk1 *.bk2 std.out\
mapkey(continued) *.m_p *.bak *.bk1 *.bk2 std.out current_session.pro;
配置效果
