FamilyInstance can't be rotated precisely

Hey,

I am trying to place a FamilyInstance (a curb in this example) at a ModelCurve. The Model Curve represents an alignment. The script works but somehow I get a slight offset at the end of the curb which I can’t explain for myself. If I check the vectors, endpoint and rotation angle it shouldn’t be there. Is somebody able to help me?

LinienbauteilPlatzieren.dyf (77.5 KB)

Hello,

Can sent the script also including the costumnode?

KR

Andreas