Reading family reference points in a project with Dynamo

Hi @jacob.small , I’ve been after the same information and think I can shed some light on the situation. I have a document with a sample family with 2 adaptive points (Placement points) and 3 reference points, but I need extra permission to upload it.

When we try to access the information of an adaptive family instance placed in the model, Dynamo offers a few options as fas as I know:

  • AdaptiveComponent.Locations: Retrieves the location of the Adaptive/Placement points. In the example we know they are the adaptive ones because there are 2 of them and have Z =0. No reference points.
  • Via API method GetInstancePointElementRefIds for AdaptiveComponentInstanceUtils: Gets the Adaptive/Placement points elements with the ID. With the example we can use this information to retrieve the name value as well. Also no Reference points.
  • Geometry: Returns the geometric elements of the family, including the Reference points (if they are visible and shared). We can see it in the example because there are 3 and they have a Z value > 0. The problem is that we only have the XYZ information of the points, no name or host or any other way to identify them. The Adaptive/Placement points won’t be extracted using this method.

Something that make me think that the Reference points information is somehow lost when placing instances of the family in the model, is that the they cannot be selected with tab, but Adaptive points can. Which is a consistent behaviour with what we can extract via Dynamo.

And the why I need this information, in my case is because I would like to fetch those points to generate new geometry in the Revit model, imagine a polycurve connecting all the Ref01_Top points from several instances. Using more Adaptive points instead of the Reference points is out of the question because it would change the families in too many ways.

This topic has been raised on other occasions, but unfortunately, no solution yet.

I hope this helps to clarify this dead end!

1 Like