AdaptiveComponent Unwanted Rotation 2

Hi, All.
I once created a topic about the rotation of adaptive components.

I made family like this

I created adaptive points and drawn a rectangle in the YZ plane of the each point.

and created square box
In this case, If I drag and move point,


It rotates.

and maybe this is only solution for it…

https://knowledge.autodesk.com/support/revit-products/troubleshooting/caas/sfdcarticles/sfdcarticles/Adaptive-component-rotates-when-dragging-an-adaptive-point.html

So I made this.

I made a point of a rectangle by creating an adaptive point, taking a reference point on it, and then moving that point. And repeat.
Then I made a rectangle by connecting the line to the reference line.
So I made this

In this case, If I drag and move point,

It doesn’t rotates.
This is what I want to make.
More precisely,

But what I have to make family has some complicate profile.

So I have to load the CAD file, place it, and draw the profile by Pick Line.

In this case, how can I connect profiles and reference points?
How do I draw a profile so that it is linked to a reference point?

I can’t solve this problem in 2weeks…

You could try to place voids at the start and end of your component, and control the void with a angle parameter, bound to to a line or plane.

Or you place a 3 point on the reference point and control the angle between the “point planes”.
-> adaptive point-> reference point (rotation control)-> reference point( angle)-> profil