Kenja824
Automotive
- Nov 5, 2014
- 949
We have a UTD file that created a pop-up with multiple buttons to run other macros (pic attached). I tried to record new macros for NX11 but they wont run correctly on others computers. Cowski had posted code for me that took the place of the macros but I find I cannot get the UTD to run the journals.
Is it possible to have a UTD file run journals? Below is the code for the UTD file. I had tried changing the paths to the journal files but as it is, it tries to make them macros by adding a ".macro" to the end of them. I also tried to change the TYPE from MACRO to JOURNAL, but that gave an immediate error saying it expected either MACRO, GRIP, UFUN or USRT.
TITLE Modeling_DC_TOOLS! This will appear in the banner
VERSION 1
OPTION DISMISS OFF
ICONS ! You may have more than one icon palette
LABEL DC_Tools
COLUMNS 3
NAME NC BLOCK BLANK 20mm SERIES (ANL215-218)
BITMAP $HMS_UG_TOOLS\Tooling\bitmaps\nc_blank_ANL.bmp
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\macro\nc_blank_master.macro
! List Box Section
LIST ! This specifies a list box component
LABEL MACRO ! This is the label at the top of the list box
SIZE 7 ! This specifies the number of lines visible in
! the list box
NAME ANL215 20mm x 54mm x 60mm TAP 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl215.vb
NAME ANL217 20mm x 54mm x 60mm CLR 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl217.vb
NAME ANL225 20mm x 54mm x 100mm TAP 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl225.vb
NAME ANL227 20mm x 54mm x 100mm CLR 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl227.vb
NAME ANL211 20mm x 64mm x 60mm 2 TAP 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl211.vb
NAME ANL311 20mm x 64mm x 100mm 2 TAP 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl311.vb
NAME ANL221 20mm x 69mm x 60mm 2 CLR 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl221.vb
NAME ANL411 20mm x 69mm x 100mm 2 CLR 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl411.vb
Is it possible to have a UTD file run journals? Below is the code for the UTD file. I had tried changing the paths to the journal files but as it is, it tries to make them macros by adding a ".macro" to the end of them. I also tried to change the TYPE from MACRO to JOURNAL, but that gave an immediate error saying it expected either MACRO, GRIP, UFUN or USRT.
TITLE Modeling_DC_TOOLS! This will appear in the banner
VERSION 1
OPTION DISMISS OFF
ICONS ! You may have more than one icon palette
LABEL DC_Tools
COLUMNS 3
NAME NC BLOCK BLANK 20mm SERIES (ANL215-218)
BITMAP $HMS_UG_TOOLS\Tooling\bitmaps\nc_blank_ANL.bmp
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\macro\nc_blank_master.macro
! List Box Section
LIST ! This specifies a list box component
LABEL MACRO ! This is the label at the top of the list box
SIZE 7 ! This specifies the number of lines visible in
! the list box
NAME ANL215 20mm x 54mm x 60mm TAP 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl215.vb
NAME ANL217 20mm x 54mm x 60mm CLR 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl217.vb
NAME ANL225 20mm x 54mm x 100mm TAP 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl225.vb
NAME ANL227 20mm x 54mm x 100mm CLR 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl227.vb
NAME ANL211 20mm x 64mm x 60mm 2 TAP 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl211.vb
NAME ANL311 20mm x 64mm x 100mm 2 TAP 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl311.vb
NAME ANL221 20mm x 69mm x 60mm 2 CLR 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl221.vb
NAME ANL411 20mm x 69mm x 100mm 2 CLR 2 Dwls
TYPE MACRO
ACTION $HMS_UG_TOOLS\Tooling\Journals\nc_blank_anl411.vb