Difference between revisions of "Get MTM Data"

From Macros Wiki
Jump to: navigation, search
(New page: !<br> ! Get MTM Data<br> !<br> <br> global num_flows, num_tool_groups, num_spindles<br> global num_flows$, num_tool_groups$, num_spindles$<br> <br> check part_open, "You must have a part o...)
 
Line 16: Line 16:
 
num_spindles$    = format$(num_spindles, "0")<br>
 
num_spindles$    = format$(num_spindles, "0")<br>
 
<br>
 
<br>
dialog "GetMTMData.dlg"<br>
+
dialog "[[GetMTMData.dlg]]"<br>
 
<br>
 
<br>
 
if button = 1 then stop "flows"<br>
 
if button = 1 then stop "flows"<br>
 
if button = 2 then stop "tool groups"<br>
 
if button = 2 then stop "tool groups"<br>
 
if button = 3 then stop "spindles"<br>
 
if button = 3 then stop "spindles"<br>

Revision as of 17:25, 28 July 2010

!
! Get MTM Data
!

global num_flows, num_tool_groups, num_spindles
global num_flows$, num_tool_groups$, num_spindles$

check part_open, "You must have a part open to run this macro"

get_post_data mach_flows, num_flows
get_post_data num_tool_groups, num_tool_groups
get_post_data num_spindles, num_spindles

num_flows$ = format$(num_flows, "0")
num_tool_groups$ = format$(num_tool_groups, "0")
num_spindles$ = format$(num_spindles, "0")

dialog "GetMTMData.dlg"

if button = 1 then stop "flows"
if button = 2 then stop "tool groups"
if button = 3 then stop "spindles"