본문 바로가기
  • 환영 합니다 ! Welcome!
Creo Reference Room/Drawing

Mapkey로 Table 파일 도면에 붙이기

by ToolBOX01 2022. 3. 11.
반응형

■ 단축키로 Table 파일 도면에 삽입하기

 

1. config.pro 정의를 합니다 

    - pro_table_dir      c:\creo_stds\table_dir

 

 

2. mapkey

 

  mapkey $F2 ~ Command `ProCmdDwgTblFromFile` ;\
  mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;\
  mapkey(continued) ~ Select `file_open` `Ph_list.Filelist` 1 `bom_a1_a3.tbl`;\
  mapkey(continued) ~ Command `ProFileSelPushOpen_Standard@context_dlg_open_cmd` ;\
  mapkey(continued) ~ Select `dwg_selpnt_dlg` `rad_sel_method` 1 `abs_coord`;\
  mapkey(continued) ~ Update `dwg_selpnt_dlg` `opt_abs_x` `5`;\
  mapkey(continued) ~ Activate `dwg_selpnt_dlg` `opt_abs_x`;\
  mapkey(continued) ~ FocusOut `dwg_selpnt_dlg` `opt_abs_x`;\
  mapkey(continued) ~ Update `dwg_selpnt_dlg` `opt_abs_y` `10`;\
  mapkey(continued) ~ Activate `dwg_selpnt_dlg` `opt_abs_y`;\
  mapkey(continued) ~ FocusOut `dwg_selpnt_dlg` `opt_abs_y`;~ Activate `dwg_selpnt_dlg` `psh_ok`;

 

   > $F2                : mapkey 이름

   > bom_a1_a3.tbl  : table 파일 이름

   > `opt_abs_x` `5: 절대 값 "x"

   > `opt_abs_x` `y`  : 절대 값 "y"