RiR - Use Adaptive Points as References for Aligned Dimension?

I’m trying to generate dimensions of adaptive family elements in Revit. In theory, the most straightforward way to do this would be to use the adaptive points as the dimension references, since they are easy to identify and filter.

It seems that the “Aligned Dimension” component/API does not accept these as references. “RevitAPI: The references are not geometric references.”

Forum-AdPts as Reference.gh (80.3 KB)

I can imagine some potential workarounds. Currently, my strategy is to use a nested family inside the adaptive family that contains an easily identifiable line whose end points fall where I want my dimension to measure.

Are there any better/alternate approaches here? Goal is really just to find the most reliable method of placing a dimension at the bounds of an adaptive component, minimizing room for error in getting the correct references, minimizing any need for geometric analysis on the GH side.

In this thread, Muhammad provides some good insight on how this component works. @MSAwan maybe you could offer your wisdom here as well?

Thx fam

Hi @bushdylanj

You can extract the adaptive points, create small detail lines, and use them as references. The detail line trick always works :slight_smile:

The dimensions will adjust automatically as you move the adaptive points.

Thanks Muhammad!

I was considering this sort of approach… It does the job of being simple to get the correct points, but the significant drawback for my use case would be that, as I understand it, the detail lines(and dimensions) will only update as long as the script is live. This creates an additional maintenance task of running this script anytime there are changes to an element. Avoiding this as much as possible is a priority for me.