Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

UDE problem 1

Status
Not open for further replies.

i0wa

Industrial
Oct 4, 2009
51
0
0
EE
I've written my UDE but NX shows me an error. I've tried to put "MOM_abort" to a different places, but it was useless because of the one and only place when MOM_abort proc worked it was before the "proc MOM_my_proc {} { ..."

I add 2 files with my UDE and proc (zipped archive).


Thanks in advance

P.S. I am very sorry for my bad English.
 
Replies continue below

Recommended for you

Could it be your using mom_increament_r4 without setting it?
What is the error? Be sure to look at the syslog for more clues, Attach it if you can.
 
First error
if{[string match "Stencil Gothic" $mom_font} {
Should be
if {[string match "Stencil Gothic" $mom_font]} {

Second error
Make sure all if have a space after them.

Third error
MOM_output_literal "G00 Z H$mom_engrave_tool_number D$engrave_tool_number M0"
should be
MOM_output_literal "G00 Z H$mom_engrave_tool_number D$mom_engrave_tool_number M0"

Fourth error
Handle mom_increament not being set

 
Status
Not open for further replies.
Back
Top