界面都不一样 肯定报警啊
UG宏macro报警:
宏不同步
出错行的行号为:12,回放结束
无法重播宏-没有注册宏处理器
我用UG12录的宏,UG2216使用不了
大佬们有没有什么办法可以把低版本的宏整成高版本往上通用的啊
下面是前面一部分宏文件:
NX 12.0.2.9
Macro File: C:\Program Files\Siemens\宏\Z32.macro
Macro Version 7.50
Macro List Language and Codeset: simpl_chinese 13
Created by gang3m on Sat Jul 22 08:15:48 2023
Part Name Display Style: $FILENAME
Selection Parameters 1 2 0.104167 1
Display Parameters 1.000000 16.791667 9.677083 -1.000000 -0.576303 1.000000 0.576303
*****************
CUSTOM HEADER 25 "UGTL_macro" 0
CUSTOM 25 ONT * TL_EXPAND * (1 2) * 1 ! 钻孔
CUSTOM 25 ONT * TL_PICKED_ITEM * (1 2 28) * 0 ! Z32
CUSTOM 25 ONT * TL_SELECT * (1 2 28) * 0 * 1 ! Z32
MENU, 0, UG_CAM_ONT_COPY UG_GATEWAY_MAIN_MENUBAR <Ctrl C> ## !
CUSTOM 25 ONT * TL_EXPAND * (1 2) * 0 ! 钻孔
CUSTOM 25 ONT * TL_PICKED_ITEM * (1 3) * 0 ! 程序
CUSTOM 25 ONT * TL_SELECT * (1 2 28) * 0 * 0 ! Z32
CUSTOM 25 ONT * TL_SELECT * (1 3) * 0 * 1 ! 程序
MENU, 0, UG_CAM_ONT_PASTE UG_GATEWAY_MAIN_MENUBAR <Ctrl V> ## !
MENU, 0, UG_CAM_ONT_EDIT UG_GATEWAY_MAIN_MENUBAR < E> ## !
ASK_ITEM 720896 (1 BOOL 0) = 1 ! Use Arc Axis
ASK_ITEM 720896 (1 BOOL 0) = 0 ! Use Arc Axis
ASK_ITEM 5505024 (1 REAL 0) = 3.0000000000000000 ! ##03Minimum Clearance
ASK_ITEM 5701632 (1 REAL 0) = 1.5000000000000000 ! Thru Hole Clearance
ASK_ITEM 5898240 (1 REAL 0) = -3.0000000000000000 ! Blind Hole Stock
ASK_ITEM 6881280 (1 BOOL 0) = 1 !
ASK_ITEM 6881280 (1 BOOL 0) = 0 !
ASK_ITEM 7798784 (1 BOOL 0) = 1 !