|
发表于 2015-9-13 12:59:59
|
显示全部楼层
7楼的方法可行,我自己根据7楼更改的
global mom_stock_floor
global mom_stock_part
global mom_next_machine_mode
global mom_operation_type
if {$mom_operation_type == "Point to Point"} {
#MOM_output_literal "($mom_operation_type)"
} elseif {$mom_operation_type == "Cylinder Milling"} {
MOM_output_literal "(side_stock=[format "%.3f" $mom_stock_part]mm)"
} else {
MOM_output_literal "(floor_stock=[format "%.3f" $mom_stock_floor]mm)"
MOM_output_literal "(side_stock=[format "%.3f" $mom_stock_part]mm)"
} |
|