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

Anyone have an idea of what is happening here?

Without trying, I don’t know, but what I would do is comprae the two programmatically, listing their parameters (element.Parameters then iterate values and do the same with types) and methods and properties (dir(element))
If nothing really differentiate them, this must be an Revit API bug → Revit API forum and bug report
Which is probably the case.