nxexplorer
Mechanical
- Jun 23, 2010
- 84
Hi NX CAM EXPERTS,
I have inquiry on how to attaching attribute to the tool in PB. I have tried this custom command (below) but failed.
#==================================================================================
global mom_tool_name
if {![info exists mom_tool_name]} {
return
}
global attrInfoArray
global mom_tool_tapered_shank_diameter
set attrInfoArray(VALUE) $mom_tool_tapered_shank_diameter
set attrInfoArray(TYPE) "String"
MOM_set_attribute $mom_tool_name "SHANK_DIAMETER" attrInfoArray
if {![info exists mom_tool_name]} {
return
}
#==================================================================================
if there any experience successfully doing this tool attribute in PB, please share.
Thank you,
Best Regards,
Maryadi
I have inquiry on how to attaching attribute to the tool in PB. I have tried this custom command (below) but failed.
#==================================================================================
global mom_tool_name
if {![info exists mom_tool_name]} {
return
}
global attrInfoArray
global mom_tool_tapered_shank_diameter
set attrInfoArray(VALUE) $mom_tool_tapered_shank_diameter
set attrInfoArray(TYPE) "String"
MOM_set_attribute $mom_tool_name "SHANK_DIAMETER" attrInfoArray
if {![info exists mom_tool_name]} {
return
}
#==================================================================================
if there any experience successfully doing this tool attribute in PB, please share.
Thank you,
Best Regards,
Maryadi