Hello,
in the attached drawing, is my current troublemaker. It is a shape with some geometry sections which change the look of the shape, following a selection in the Shape Data and represents a temperature sensor that changes it's look depending on it's field of use. That is OK so far and working.
It started live as a 2D Shape, but a new requirement is, that it should be able to glue to (somewhere on the geometry!!! of) other 2D Shapes. So I couldn't use 2D gluing and transformed it to an 1D Shape.
Problem is that it should not change its length, when a shape, it is glued to, moves.
It should only be glued to with it's tip that is at EndX/Y, so I tried sth. with the Guard function in BeginX/Y referencing EndX/Y+4mm, but that doesn't work.
Especially because the shape should be used horizontal and vertical, that is in 0 deg, +/- 90 deg and +/- 180 deg.
I tried to implement that dependency in the guard function but that led to a circular statement that you can see in the shapesheet.
I hope you understand, what I want that shape to do, and maybe have an idea how to accomplish that.
Thank you,
Jumpy