morans
Mechanical
- Feb 5, 2009
- 62
I'm looking for a way of controling an expression IF a certain condidtion is met. If not, then it defaults back to "X" number. So for example:
If P1 is > 0.05mm, then P2=35mm. If P1 is < 0.05mm, then P2=5mm.
Is this possible in NX5? I'm building an assembly that depends on 2 or 3 parts all moving together when I change a sketch expression (or attempting to atleast). If it is possible, what is the proper syntax to use for the above example?
I've always just manually adjusted all the parts when we do assemblies like this, but it would be pretty neat to automate the process a little.
thanks a lot.
If P1 is > 0.05mm, then P2=35mm. If P1 is < 0.05mm, then P2=5mm.
Is this possible in NX5? I'm building an assembly that depends on 2 or 3 parts all moving together when I change a sketch expression (or attempting to atleast). If it is possible, what is the proper syntax to use for the above example?
I've always just manually adjusted all the parts when we do assemblies like this, but it would be pretty neat to automate the process a little.
thanks a lot.