■ 소개
Mapkey를 사용하면, 여러번의 명령 클릭을 통해 실행되는 내용을 한번의 클릭으로 해결 할수 있습니다.
Table 파일을 고정된 위치에 배치 하는 Mapkey 입니다. Mapkey 생성 방법은 마스터를 만들고, 마스터를 복사하고 편집 합니다
마스터 Mapkey 내용은 아래와 같습니다.
**************** Mapkey ***********************************************************************************************
mapkey zt_a0_cus @MAPKEY_LABELa0_CUSTOMER DRAWING 자동배치;\
mapkey(continued) ~ Command `ProCmdDwgTblFromFile` ;\
mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;\
mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `PREVIEW_POPUP_TIMER` \
mapkey(continued) `file_open:Ph_list.Filelist:<NULL>`;\
mapkey(continued) ~ Input `file_open` `Inputname` `customer_drawing.tbl`;\
mapkey(continued) ~ Command `ProFileSelPushOpen_Standard@context_dlg_open_cmd` ;\
mapkey(continued) ~ Select `dwg_selpnt_dlg` `rad_sel_method` 1 `abs_coord`;\
mapkey(continued) ~ Input `dwg_selpnt_dlg` `opt_abs_x` `10`;\
mapkey(continued) ~ FocusOut `dwg_selpnt_dlg` `opt_abs_x`;\
mapkey(continued) ~ Input `dwg_selpnt_dlg` `opt_abs_y` `831`;\
mapkey(continued) ~ FocusOut `dwg_selpnt_dlg` `opt_abs_y`;~ Activate `dwg_selpnt_dlg` `psh_ok`;
*************************************************************************************************************************
마스터 Mapkey는 아래와 같이 구성 되어 있습니다.
1) MAPKEY 이름 : zt_a0_cus
2) MAPKEY 설명 : @MAPKEY_LABELa0_CUSTOMER DRAWING 자동배치;\
3) Table 파일 불러오기 : "customer_drawing.tbl" 테이블 파일 불러오기
- 반드시 config.pro 파일에서 Table 파일들 위치를 "pro_table_dir g:\ptc\creo_stds\table_dir" 로 정의 합니다
4) 절대 값 "x" : `opt_abs_x` `10`
5) 절대 값 "y" : `opt_abs_x` 831`
■ Mapkey 구성 표
마스타 Mapkey를 복사 & 편집하여 Mapkey를 구성 합니다. 에디터로 "notepad-plus"를 사용 하십시요
Mapkey 이름 | Mapkey 설명 | Table 파일 | X 위치 절대 값 | Y 위치 절대 값 |
zt_a0_cus | a0_CUSTOMER DRAWING 자동배치 | customer_drawing.tbl | 10 | 831 |
zt_a1_cus | a1_CUSTOMER DRAWING 자동배치 | customer_drawing.tbl | 10 | 584 |
zt_a2_cus | a2_CUSTOMER DRAWING 자동배치 | customer_drawing.tbl | 10 | 410 |
zt_a3_cus | a3_CUSTOMER DRAWING 자동배치 | customer_drawing.tbl | 10 | 287 |
zt_a4_cus | a4_CUSTOMER DRAWING 자동배치 | customer_drawing.tbl | 10 | 287 |
■ Mapkey 만들기
맵키(MAPKEY) 만드는 방법
소개 Creo Parametric에서 맵키는 자주 사용하는 명령 시퀀스를 키보드의 특정 키나 키 세트에 매핑하는 키보드 매크로(macros) 입니다. 이러한 맵키는 Config.pro 파일에 저장됩니다. 시스템은 맵키를
idt21c.tistory.com
'Creo Reference Room > Preferences' 카테고리의 다른 글
Materials : 자동으로 무게 계산 하기 (0) | 2022.07.30 |
---|---|
Materials : 파일 정보 (0) | 2022.07.28 |
CREO 사용전, 환경 설정을 먼저 해야 합니다! (0) | 2022.07.26 |
customization.ui 파일 기본 로드 설정 (0) | 2022.07.26 |
Creo Distributed Batch #3 - dwg 파일 변환 (0) | 2022.07.18 |