# Set "Identity Data", "Is Reference Line" as true

**URL:** <https://forum.dynamobim.com/t/set-identity-data-is-reference-line-as-true/63579>\
**Category:** Revit\
**Tags:** python, dynamo, api\
**Created:** [May 4, 2021, 1:18pm UTC](https://forum.dynamobim.com/t/set-identity-data-is-reference-line-as-true/63579 "2021-05-04T13:18:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon.snake](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@simon.snake](https://forum.dynamobim.com/u/simon.snake)\
**Post date:** [May 4, 2021, 1:18pm UTC](https://forum.dynamobim.com/t/set-identity-data-is-reference-line-as-true/63579/1 "2021-05-04T13:18:48Z")

</div>

Hi everyone,

I would like to convert a “model line” into a “reference line” inside Revit.  
Is there a way to do it trough a dynamo script, otherwise accessing the Revit API?  
Does anyone know some method to solve this issue?

Thank you

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [May 4, 2021, 2:01pm UTC](https://forum.dynamobim.com/t/set-identity-data-is-reference-line-as-true/63579/2 "2021-05-04T14:01:16Z")

</div>

Here’s the API method: [ConvertModelToDetailCurves Method](https://www.revitapidocs.com/2020/5566ffcf-1724-589b-15a1-6e829a986ec2.htm)

If you want to skip python you’ll likely have to get the curve geometry from the ModelCurve and use that to create a DetailCurve. Then you can just delete the old ModelCurve.
