Hello everyone and Happy New Year! (it's never too late)
I'm stuck on my 3D. Indeed, I have an equation to increase the number of repetitions of a function according to my length. The problem occurs when the number of repetitions is equal to 1.
So I created an equation to remove the repetition function if it is equal to 1 but there is an error: "The following equations cannot be evaluated because of deleted/invalid odds: Equation 18: \t"Linear repetition8"= IIF ( "linear D1@Répétition 8" < 2 , "suppressed" , "unsuppressed" "
On the other hand, if you have dimensions removed after deleting your function, you will still have an error if they are used in other formulas. You would have to replace these reference dimensions with properties, it would be easier, or you would have to drive a function that deletes the result of this repetition if possible.
In the case where it's a hole (is if I understood correctly) when the repetition is =1 it gives a hole that you don't want but that you can't delete at the risk of deleting the rest.
OBI WAN: It's a matter removal that I'm repeating. Indeed "filling" the hole afterwards may be an idea but it is not very clean in the tree. I'm going to take it time to find something else.
A.Leblanc: Your version doesn't change anything, because the problem lies in the fact that the repetition is equal to 1, and not the verification of the equation.
What I don't understand is that despite the error, nothing prevents you from deleting the function.
The error occurs following the creation of an equation that is supposed to remove the repetition function if the number of occurrences is equal to 1. And I don't understand the reason for the error knowing that none of my variables depend on repetitions.
For example, if the value of the deleted dimension is not a result of a formula (EX number of holes to choose from), you can use the custom properties pane to populate that value, and use it in the other formulas.
Did you know that it is possible to control function deletions with custom properties?
But a repetition can't be equal to one, you should maybe revise your formula or your method to define the number of repetitions and that it is greater than 1.