TopographySurface - There is(are) reference gap(s) between points and facets

TopographySurface - There is(are) reference gap(s) between points and facets

pavelkosykh88
Contributor Contributor
205 Views
1 Reply
Message 1 of 2

TopographySurface - There is(are) reference gap(s) between points and facets

pavelkosykh88
Contributor
Contributor

Good day.

 

I have a problem creating a TopographySurface from points and facets in Revit 2024.

Preliminary I've checked points and facets via  TopographySurface.IsValidFaceSet() - everything is Ok.

But during the creation I receive an exception - "There is(are) reference gap(s) between points and facets....".

 

Does anybody know what it means and how to fix it?

 

0 Likes
206 Views
1 Reply
Reply (1)
Message 2 of 2

moturi.magati.george
Autodesk
Autodesk

Hi @pavelkosykh88,

 

In Revit 2024 TopographySurface class has been replaced with Toposolid. This is pointed out by The Buiding Coder also. TopographySurface.Create() is now depreciated and will be replaced by Toposolid.Create()

https://thebuildingcoder.typepad.com/blog/2023/04/whats-new-in-the-revit-2024-api.html

Note: You can find a good example of using TopographySurface in Revit SDK samples for 2023.

  Moturi George,     Developer Advocacy and Support,  ADN Open