Reference plane in a legend view

Hi, I just want to simply place a reference plane in legend view but getting warning. So far this is what I have

Correction, this is the graph:

Are you sure you mean a reference plane? If your end goal is a detail line in your view then you want to create a normal Dynamo curve. Try Line.ByStartPointEndPoint.

Yes, a reference plane. I use them in legend views and create a square to gauge the sheet size for when I drop them in the sheet (unless there is a detail line that doesn’t plot?).

Thanks for your response

Did anyone resolve this question, I find myself looking at this same workflow.
The reference planes created by the curves in the legend view are created in the model environment instead.
Any thoughts?