본문 바로가기
  • 환영 합니다 ! Welcome!
VBA For Creo

Ghost 파일을 발생 시키는 Referance 오류 파일들 검색 기능 2/2

by ToolBOX01 2024. 6. 19.
반응형

□ Part 파일의 Feature들중 "종속 오류"가 있는 Feature의 ID를 표시하는 기능

Creo 참조 오류 검색 "검색 기능" 으로  리스트 가져오기

 

검색 기능 - Mapkey

단축키 또는 아이콘을 이용하여 오류가 발생 하는  Feature의 ID를 표시 합니다. 수정을 합니다.

mapkey q01 @MAPKEY_NAMEDependey Miss;@MAPKEY_LABELDep_Miss;\
mapkey(continued) ~ Activate `main_dlg_cur` `page_Tools_control_btn` 0;\
mapkey(continued) ~ Command `ProCmdMdlTreeSearch` ;~ Open `selspecdlg0` `SelOptionRadio`;\
mapkey(continued) ~ Close `selspecdlg0` `SelOptionRadio`;\
mapkey(continued) ~ Select `selspecdlg0` `SelOptionRadio` 1 `Feature`;\
mapkey(continued) ~ Open `selspecdlg0` `LookByOptionMenu`;\
mapkey(continued) ~ Close `selspecdlg0` `LookByOptionMenu`;\
mapkey(continued) ~ Select `selspecdlg0` `LookByOptionMenu` 1 `Feature`;\
mapkey(continued) ~ Open `selspecdlg0` \
mapkey(continued) `ExtRulesLayout.ExtParentStateLayout.ParentStateCompOper`;\
mapkey(continued) ~ Close `selspecdlg0` \
mapkey(continued) `ExtRulesLayout.ExtParentStateLayout.ParentStateCompOper`;\
mapkey(continued) ~ Select `selspecdlg0` \
mapkey(continued) `ExtRulesLayout.ExtParentStateLayout.ParentStateCompOper` 1 ` == `;\
mapkey(continued) ~ Open `selspecdlg0` `ExtRulesLayout.ExtParentStateLayout.ParentStateList`;\
mapkey(continued) ~ Close `selspecdlg0` `ExtRulesLayout.ExtParentStateLayout.ParentStateList`;\
mapkey(continued) ~ Select `selspecdlg0` `ExtRulesLayout.ExtParentStateLayout.ParentStateList` \
mapkey(continued) 1 `Out of Session`;~ Activate `selspecdlg0` `EvaluateBtn`;\
mapkey(continued) ~ Select `selspecdlg0` `ResultList` -1;~ Activate `selspecdlg0` `ApplyBtn`;\
mapkey(continued) ~ Activate `selspecdlg0` `CancelButton`;

 

참고) SheetMetlal Part는 Feature Number를 가져오는 기능에 오류가 있습니다. ( Creo 9.0.6.0 / VBA API 자체 오류)