了解CREO工作目录设置
设置快捷方式启动目录,就能自动加载其中的配置。
一、通过键盘快捷方式
保存配置 creo_parametric_customization.ui
文件:
二、通过映射键录制
通过这种方式可以监听鼠标的点击事件。使用键盘快捷方式
无法找到需要的动作时候可以使用。
例如:6个标准的视图方向,就需要这样设置
保存配置config.pro
:
注意此文件默认存在安装目录中:
D:\xxx\PTC\Creo9.0\Creo 9.0.1.0\Common Files\text\config.pro
如果自己发现怎么删除配置并保存至工作目录都没用,说明默认的这个config.pro中需要修改。
三、目前使用的配置config.pro
默认文件模板以开头mmns
。
含有默认单位配置和6向视图配置
config.pro
文件内容:
drawing_setup_file $PRO_DIRECTORY\text\prodetail.dtl
format_setup_file $PRO_DIRECTORY\text\prodetail.dtl
pro_unit_length UNIT_MM
pro_unit_mass UNIT_KILOGRAM
template_designasm $PRO_DIRECTORY\templates\mmns_asm_design_abs.asm
template_new_ecadasm $PRO_DIRECTORY\templates\mmns_ecad_asm_abs.asm
template_drawing $PRO_DIRECTORY\templates\c_drawing.drw
template_sheetmetalpart $PRO_DIRECTORY\templates\mmns_part_sheetmetal_abs.prt
template_solidpart $PRO_DIRECTORY\templates\mmns_part_solid_abs.prt
template_boardpart $PRO_DIRECTORY\templates\mmns_ecad_board_abs.prt
todays_date_note_format %Mmm-%dd-%yy
tolerance_standard ansi
weld_ui_standard ansi
search_path_file $CREO_COMMON_FILES\ifx\parts\prolibrary\search.pro
mapkey 1 @MAPKEY_LABELfront;\
mapkey(continued) ~ Activate `main_dlg_cur` `page_View_control_btn` 1;\
mapkey(continued) ~ Select `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Close `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Command `ProCmdNamedViewsGalSelect` `FRONT`;
mapkey 2 @MAPKEY_LABELback;\
mapkey(continued) ~ Activate `main_dlg_cur` `page_View_control_btn` 0;\
mapkey(continued) ~ Select `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Close `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Command `ProCmdNamedViewsGalSelect` `BACK`;
mapkey 3 @MAPKEY_LABELtop;\
mapkey(continued) ~ Activate `main_dlg_cur` `page_View_control_btn` 0;\
mapkey(continued) ~ Select `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Close `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Command `ProCmdNamedViewsGalSelect` `TOP`;
mapkey 4 @MAPKEY_LABELbottom;\
mapkey(continued) ~ Activate `main_dlg_cur` `page_View_control_btn` 0;\
mapkey(continued) ~ Select `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Close `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Command `ProCmdNamedViewsGalSelect` `BOTTOM`;
mapkey 5 @MAPKEY_LABELleft;~ Select `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Close `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Command `ProCmdNamedViewsGalSelect` `LEFT`;
mapkey 6 @MAPKEY_LABELright;\
mapkey(continued) ~ Activate `main_dlg_cur` `page_View_control_btn` 0;\
mapkey(continued) ~ Select `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Close `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Command `ProCmdNamedViewsGalSelect` `RIGHT`;
save_instance_accelerator EXPLICIT
pro_unit_sys mmns