Spot Elevation - place on previous location of re-create elements

Hi all,

I’ll do my best to explain the situation.

I placed Spot Elevations for an element (such as a floor) in both the plan and section views. Now, the element needs to be recreated (deleted and created again), which means the annotations also need to be placed again. Is there a way to retain the previous reference points, types, head locations, leader positions, and displayed elevations, and apply them to the newly created elements?

Thanks.

Unfortunately there doesn’t appear to be a Rehost method in the Revit API

@Japhy

What if:

  1. Query the current annotation points.
  2. Bake or internalize the data (points/annotation types, etc.)
  3. Sort by views.
  4. Delete and recreate the host element.
  5. Use the saved data to add new spot elevation.

Think I figured something, will test it tomorrow…

1 Like

Hi @Japhy ,

So I found this issue.
When a Spot Elevation has its Leader and Shoulder, the Annotation Leaders turns out error. Any idea what’s the cause of it? (Both plan and section as images shown below).

Hi Ctu6,

Not seeing the behavior here, please additional information about your environment and the issue. Thanks!

Hi @Japhy

I’m running Revit 2022 and Rhino 7,
and I just update RIR to 1.25.9050 and it seems work now!

Hi @Japhy,

Meanwhile, I’ve realized that if a Spot Elevation needs to be placed on a DirectShape, the placement reference has to be the Element Face rather than the element itself
(as shown in the images below, both current and linked scenarios result the same).
I just wanted to confirm if this is indeed correct.

If so, I wonder if there’s a method similar to the Bounding Box Filter or GH’s Brep Closest Point that can return the exact intersecting face for use with the Add Spot Elevation component?

SPELE.gh (14.8 KB)
SPELE.rvt (5.1 MB)
SPELE_LINK.rvt (5.1 MB)

Surface Closest Point can get you there…

Thanks, @Japhy, Surface Closest Point does work!

However, another issue has come up…

The scenario is that I need to use a query to retrieve multiple elements (DirectShapes) from a linked document and then place (or replace) the Spot Elevation on their faces.
However, it seems that after querying, the elements somehow shift from “Linked” status to “Current Project” status (?), which is causing the adding process to fail.

SPELE.rvt (5.1 MB)
SPELE_LINK.rvt (5.1 MB)
SPELE.gh (22.5 KB)

Hi Ctu6,

That is similar to this existing issue.

Just a random thought,
if a document can be selected (i.e. a linked project), would it be possible to have something like “Deconstruct Model” and reveals all the linked elements?

Or as a workaround, could there ba a way to “manually” select all the linked elements of a linked document? (By this I meant, other then manually isolate the link document and hand-drag all the elements).

Hi @Japhy, I wonder if there’s a way to output the Face as a trimmed surface rather than an untrimmed one? I’m still working on the Add Spot Elevation.
As shown in the image, the point intersects with a single face but intersects with both untrimmed surfaces, resulting in the actual collided element being omitted after sorting.

Hi Ctu6,

Currently you can find the surface boundary via the geometry.


RiR-FindBoundary.gh (8.9 KB)