×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Troubles with UDF (Unable to paste error)

Troubles with UDF (Unable to paste error)

Troubles with UDF (Unable to paste error)

(OP)
Hi everyone,
I am trying to get closer to NX and all it's features and I'm having some troubles with this particular UDF. I have debug all errors I found but now I'm stuck. I hope you can help me. I'll try to explain the model:

I have a model in which I have an extrude which supression status is driven by the expresion 'if (e==0) 0 else 1'. Next step is an edge blend that is also controlled by 'if (e==0 | rf==0) 0 else 1' next operation are again an extrude controlled its supression by 'if (e!=0) 0 else 1' and a edge blend controlled by 'if (e!=0 | rf==0) 0 else 1'
To test and debug it both extrude have the same profile done around a cylinder with circular pattern.
Changing values of 'e' and 'rk' works just fine in the prt file.
I created an UDF with this model and it continued working ok if the values of 'e==0' and 'rk!=0' when I insert the UDF. Once I have the UDF created I can set 'e' or 'rk' to any value and it will continue working properly, supressing features as intended.
Only when creating the UDF and the second extrusion is evaluated as 0 (e!=0) fails evaluating blend's operation and I get an "Unable to paste" error. What is the problem here? How can I debug it?

Thank you in advance and Merry Christmas!
Larry
Learning Engineer (NX 7.5)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources