Hi everyone,
I'm facing an issue regarding an expectation from designers of my team.
They would like to set a range for flexible dimension.
For instance, I insert a spring in my assembly. I set it as a flexible component, thus the spring's length changes according the assembly position.
In the case of a lenght higher than the maximum theorical spring lenght, I would get a regeneration error or an error message ....
Does anyone has an idea ?..
Thanks
Solved! Go to Solution.
Yes, it's actually not that hard. This particular one limits the part to between 96 and 108.
/* DIMENSION NAMED LENGTH
length=D44
/* generate error message
LENGTH >= 96
LENGTH <= 108
/* makes overall length dimension back to max for this dash number
IF D44 < 96
D44 = 96
endif
IF D44 > 108
D44 = 108
ENDIF
Yes, it's actually not that hard. This particular one limits the part to between 96 and 108.
/* DIMENSION NAMED LENGTH
length=D44
/* generate error message
LENGTH >= 96
LENGTH <= 108
/* makes overall length dimension back to max for this dash number
IF D44 < 96
D44 = 96
endif
IF D44 > 108
D44 = 108
ENDIF
I was not sure that the flexible dimension could be used as flexible when this one is used in the relation. Actually it works.
Thank you !