×
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

If/Then Logic to choose Thread Size ?

If/Then Logic to choose Thread Size ?

If/Then Logic to choose Thread Size ?

(OP)
We're on NX9, and would like thread sizes to bump up when the rest of the part gets larger. For instance: when Outside Diameter exceeds 1000mm we need bigger fasteners.

Of course, changing the value of a clearance hole is easy using logic, but is there a way to select a different thread size?

Thanks!

RE: If/Then Logic to choose Thread Size ?

Yes there is, but this only applies to Threaded Hole features (i.e. Female threads).

When you create a Threaded Hole in addition to the numerical expressions that get created defining the sizes of the various aspects of the Threaded Hole, that are also 'string' expressions created showing the hole 'specs' such as the thread size and the thread standard. Editing the 'string' expression to a value that represents another valid thread size will cause the threaded hole to update to the new size. For example, in the attached model, if you were to edit the expression named 'Thread_Size' from '3/8-16' to say '1/4-20' or '1/2-13' the threaded hole would update. Now if you needed to replace the course thread with a fine thread, say '3/8-24' you would also have to edit the value of the 'Thread-Standard' expression from 'Inch UNC' to 'Inch UNF'. Note that you can also, by just editing the expressions, change an Imperial sized hole to a Metric hole by properly editing the values of the 'string' expressions representing the Thread Standard and the Thread Size (note that in my example the names of the 'string' expressions are my own. Normally NX assigns them normal 'p' letter expressions, I just renamed them to make it easier to find the relevant expressions for this example).

OK, so once you understand how this works, it should be very easy to set up your logic to define the appropriate contents of these two expressions that effect the size of the thread.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.

RE: If/Then Logic to choose Thread Size ?

(OP)
Totally worked.
Thanks!

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