Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

arrangement to equation connection

Status
Not open for further replies.

IvanNX

Mechanical
Jun 9, 2005
267
Is it possible to make it so arrangement commands if then loop in equations?
Like if the arrangement is A then the distance is 100 and if the arrangement is B then the distance is 200 else 500..

_____________________________
Enjoy your work and have fun!
 
Replies continue below

Recommended for you

yes actually it is! (however the Mold Wizard or Knowledge Fusion packages are required for this particular function to work as the loop command is part of knowledge fusion I'm pretty sure.)

I've attached an image of how this works.

I will warn you that the loop command can be finnicky and if not implemented with proper error checking can cause whole NX sessions to lock up or even crash entirely.

EDIT: realizing this may not be entirely what you're looking for.

you could also do something like:

if(test_a = 1) value_a else if(test_a = 2) value_b else value_c

remember when doing this that the if/then statement is read left to right and will have an end result as soon as something is true, so formatting the statement appropriately is necessary..
 
 https://files.engineering.com/getfile.aspx?folder=04825222-8f42-4a50-b751-9d85fbc57df3&file=looping_example.jpg
how is this connected to arrangement?

_____________________________
Enjoy your work and have fun!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor