ChangeToReferenceLine() does not create normal reference lines

I’m trying to create reference lines to use as a way to move elements inside a family. When I try the grips out in a project it moves the entire family instead of simply the element inside of the family.

The setup has pinned reference planes, also created with a script and parameters that control the offset. When I create the reference lines with the method below (from the linked post) it doesn’t appear to create normal reference lines and I’m wondering if that may be causing some of my issues.

p = Plane.CreateByNormalAndOrigin(XYZ.BasisZ, XYZ(0, 0, 0))
sp = SketchPlane.Create(doc, p)

# Ref Line Symbol Vertical Center
llvc = Line.CreateBound(XYZ(0, 0, 0), XYZ(0, -0.583333, 0))
lineLabelVerticalCenter = doc.FamilyCreate.NewModelCurve(llvc, sp)
lineLabelVerticalCenter.ChangeToReferenceLine()

https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-reference-line-in-revit-api/td-p/9945…

When I click on the reference line and compare it’s properties it looks more like a model line. Notice that it doesn’t have a work plane and it has the “Visibility” parameter which normal reference lines do not have.

crapai_0-1742583353626.png

This is a manually created reference line:

crapai_1-1742583438953.png

I previously posted this to the Autodesk forum but have gotten no response. I thought it might be good to get another set of eyes on this. This post also includes two families, one made manually and one made with the script.
https://forums.autodesk.com/t5/revit-api-forum/changetoreferenceline-does-not-create-normal-reference-lines/td-p/13384122