Fixed axis position with IF statement


I have an if statement to set the X value, but when if is not true I don’t want the axis to be set.

So I can resize the component without going back to the set X point.

Thanks for all the help.

I don’t know much about Dynamic Components but an “If” needs a value in case it is true and another in case it is false

1 Like

The axis values is then set to 0. This means I can’t move the component from 0 without it be set back to 0.

I was wondering if there is another a value to use to prevent this.

current(“x”)*2.54, will return current position

Thanks, I found out that the multiplier 2.54 is for inch to cm conversion.