triheadwolf
Mining
Hi,
New to this forum, please be patient with me.
I did use search before asking, found some help but ended up with more questions.
As NX7.5 does not have 'Extended Text Editor' this problem and assumed solution might get workaround later when company I work for will update to NX8,
but at the moment I'm stuck with this one.
I'm creating a family part (medium complex I would say), and would like to have as less chosen variables into family members as possible.
Now I've sketched with Expressions and tried to keep expression count as low as possible but there are still some expression values that are logical and thus avoidable in part families.
Main driving dimension is Part OD.
To clarify situation, this is what I were able to do (mostly thanks to this forum!):
So, I have i.e. o-ring groove that all it's dimensions can be calculated from o-ring d2 and part OD, with three o-ring_d2 variables based on part OD.
I can put up a logic conditional expression for o-ring groove width as so:
IF(Gland_o_ring_d2=2.62)(3.6)ELSE(IF(Gland_o_ring_d2=3.53)(4.8)ELSE(7.1))
But, coming into my problem, How do I get this done:
When OD=30 then id=26
When OD=40 then id=30
When OD=50 then id=25 OR 35
When OD=60 then id=40
When OD=80 then id=40 OR 50
When OD=100 then id=50 OR 60
...and so on.
In other words, the driving dimension OD can narrow down the id variables to one OR two
Is it possible to do somehow with conditionals or in part families?
Part families is also yet to study properly so it might be the answer...
Thank You for Your help!
New to this forum, please be patient with me.
I did use search before asking, found some help but ended up with more questions.
As NX7.5 does not have 'Extended Text Editor' this problem and assumed solution might get workaround later when company I work for will update to NX8,
but at the moment I'm stuck with this one.
I'm creating a family part (medium complex I would say), and would like to have as less chosen variables into family members as possible.
Now I've sketched with Expressions and tried to keep expression count as low as possible but there are still some expression values that are logical and thus avoidable in part families.
Main driving dimension is Part OD.
To clarify situation, this is what I were able to do (mostly thanks to this forum!):
So, I have i.e. o-ring groove that all it's dimensions can be calculated from o-ring d2 and part OD, with three o-ring_d2 variables based on part OD.
I can put up a logic conditional expression for o-ring groove width as so:
IF(Gland_o_ring_d2=2.62)(3.6)ELSE(IF(Gland_o_ring_d2=3.53)(4.8)ELSE(7.1))
But, coming into my problem, How do I get this done:
When OD=30 then id=26
When OD=40 then id=30
When OD=50 then id=25 OR 35
When OD=60 then id=40
When OD=80 then id=40 OR 50
When OD=100 then id=50 OR 60
...and so on.
In other words, the driving dimension OD can narrow down the id variables to one OR two
Is it possible to do somehow with conditionals or in part families?
Part families is also yet to study properly so it might be the answer...
Thank You for Your help!