×
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

Custom Functions in NX

Custom Functions in NX

Custom Functions in NX

(OP)
Can I create a custom function in NX? Maybe a function isn't the proper method but I want to apply the following calculation to multiple sketch dimensions with unique inputs.

function(n)

Input:
n - desired length

Output:
constant*round(n/constant)

Thanks,
Scott

RE: Custom Functions in NX

I do not know if I understand your question, but Have you tried using expressions? ponder

RE: Custom Functions in NX

with this command you can set up operations and use Boolean for comparison

You can see this command with Ctrl + E

You can use expreesiones to sketch, wipes, patterns and more.

RE: Custom Functions in NX

(OP)
Yes I've used expressions. Assume "constant" is an expression. In my sketch, I have to type the follow formula...

Constant*round (12.6/Constant)

12.6 is just a number I made up but it will always be different. I want to create a formula so I can just type. ..

MyFunction (12.6)

It's like a reusable expression or formula

RE: Custom Functions in NX

Kenevil --

One of the examples I posted in your other thread related to this topic is actually a rounding example similar to this. Take a close look rounding_examples.dfa inside the zip file. smile

Taylor Anderson
NX Product Manager, Knowledge Reuse and NX Design
Product Engineering Software
Siemens Product Lifecycle Management Software Inc.
(Phoenix, Arizona)

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