# Reference from FamilyInstance

**URL:** <https://forum.dynamobim.com/t/reference-from-familyinstance/31936>\
**Category:** Developers\
**Created:** [February 11, 2019, 7:46am UTC](https://forum.dynamobim.com/t/reference-from-familyinstance/31936 "2019-02-11T07:46:45Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![lucamanzoni](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/lucamanzoni/32/56718_2.png) [@lucamanzoni](https://forum.dynamobim.com/u/lucamanzoni)\
**Post date:** [February 11, 2019, 9:31am UTC](https://forum.dynamobim.com/t/reference-from-familyinstance/31936/9 "2019-02-11T09:31:07Z")

</div>

Yes exactly. The page of the RevitAPI, used by @Alban_de_Chasteigner in his great package, is this one:

> **[FamilyInstanceReferenceType Enumeration](https://www.revitapidocs.com/2019/ab424c61-4b80-9dcd-3f9a-7b35fa670edf.htm)**
>
> Online Documentation for Autodesk's Revit API: 2015, 2016, 2017, 2017.1, 2018

If you absolutely need to do it with Python, here is a very simple example:

> [@ReferencePlane within Element](https://forum.dynamobim.com/t/referenceplane-within-element/26769/2):
>
> Hi, you can get the reference planes with the method FamilyInstance.GetReferenceByName and indicate which reference you want, in this case I took “Center (Left/Right)”. Apparently the node you are using takes only model lines as reference, so it’s just easier to use doc.Create.NewDimension in Python, it’s basically working in the same way. import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import \* from Autodesk.Revit.DB.Structure imp…

We cannot help further if you don’t post your script and see where are the mistakes.

---

_[View the full topic](https://forum.dynamobim.com/t/reference-from-familyinstance/31936)._
