Script to adjust floors in a topography, update 2022 to 2024

Good afternoon to the community.

I am writing to ask a question, I developed a script to adjust the floors in a topography, it works quite well with Revit 2022, I attach an image.

The script used a subregion in the same way as the floor to be adjusted, reconciling the height of the points, however, I was asked to work with the Revit 2024 version, and when I wanted to use it, I realized that this tool was removed.

I ask for your help to update it to use it in the new version.

Thank you very much in advance.

00-Edición de puntos de elevación en pisos.dyn (8.9 KB)

What is t working in 2024?

Probably due to toposolids in 2024.

Good afternoon, @jacob.small ,what do you mean?

Good afternoon, @GavinCrump, In fact, toposolids no longer allow me to adjust the floors due to the elimination of the tools that were used in the topographies.

What was removed? Without seeing what you’ve tried and how it failed it’s hard to identify a solution. Sure we can guess at ‘related to toposolids’, but that doesn’t help you very much.

The script that was developed works with the subregion tool that was available until version 2023 in topographies. However, in version 2024, this tool was replaced by toposolids, and the previous tools were removed.

The function of the subregion in the script was to obtain the coordinates of points within the subregion of the topography. On the ground, this allowed the control points, especially their elevation, to be adjusted to fit the topography.

How could you help me to obtain the coordinates of a toposolid instead of a subregion?