Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script of custom command for attaching attribute to the tool

Status
Not open for further replies.

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



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor