Hello to all,
I made myself a library feature with nested if functions for wave inserts for retaining rings. Since I covered the dimension range from 3 mm to 150 mm, the equation became very long. The longest equation had something like 2500 characters!
There were no error messages or other problems when creating and also none when using the library feature. Also the recalculation when changing the shaft diameter and the necessary change of the dimensions of the recess went very quickly and reliably.
But…
after a few days we had a problem with some parts where the library feature was applied, that the parts could not be opened in SWX 2020 SP5.
We sent the parts to DS for repair, unfortunately there was no feedback on what caused the files to fail.
What is amazing is that the unrepaired parts can be opened in SWX 2021 SP5.1 without any problem.
My dealer could not give me an explanation and only said that maybe something was improved.
Therefore my questions:
a: does anyone know if there is a limit on the number of characters to the right of the equal sign in equations.
b: Has anything been changed / improved in SWX 2021 regarding this issue?
I would like to build the equation differently, so that not all values from 3 to 150 mm are in one equation, but break the equations into several sections. But for this I would have to work with global variables, and that again does not work with Bibliotheks feature.
Is there another way to reliably automate operations with such a high number of possibilities?
Would the use of a macro feature be the better choice here?
I know an equation with such a high number of characters is a bit crazy, but this was also more or less a test to learn the limits of library feature.