|
楼主 |
发表于 2020-6-16 13:09:27
|
显示全部楼层
#UG后处理定制余量信息命令
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 "(XY:[format "%.2f" $mom_stock_part])"
} else {
MOM_output_literal "(XY:[format "%.2f" $mom_stock_part] \ Z:[format "%.2f" $mom_stock_floor])"
}
试出来了,这个余量显示铣螺纹不行,那位大神能修改一下 |
|