Get MTM Data

From Macros Wiki
Revision as of 17:24, 28 July 2010 by ConnerO (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

! 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"