Changes in 2020 vs 2027 9 changed
Flip API Versions →Changed members
TopographySurface.AddPoints(IList<XYZ>)
Became obsolete in 2027: This method is deprecated in Revit 2024 with the introduction of the new Toposolid elements. It is recommended that TopographySurface elements should be converted to Toposolid elements to enable better editing options.
| points | IList<XYZ> | A collection of points to be added. |
TopographySurface.AsSiteSubRegion()
| → returns | nullNothingnullptr→SiteSubRegion | The SiteSubRegion element. If this does not represent a SiteSubRegion, this will be . |
TopographySurface.ChangePointElevation(XYZ, Double)
Became obsolete in 2027: This method is deprecated in Revit 2024 with the introduction of the new Toposolid elements. It is recommended that TopographySurface elements should be converted to Toposolid elements to enable better editing options.
| point | XYZ | The point to be modified. |
| elevationValue | Double | The new elevation value. |
TopographySurface.ChangePointsElevation(IList<XYZ>, Double)
Became obsolete in 2027: This method is deprecated in Revit 2024 with the introduction of the new Toposolid elements. It is recommended that TopographySurface elements should be converted to Toposolid elements to enable better editing options.
| points | IList<XYZ> | The points to be modified. |
| elevationValue | Double | The new elevation value. |
TopographySurface.Create(Document, IList<XYZ>, IList<PolymeshFacet>)
Became obsolete in 2027: This method is deprecated in Revit 2024 with the introduction of the new Toposolid elements. It is recommended that Toposolid elements should be used in place of TopographySurface elements.
| document | Document | The document to be modified. |
| points | IList<XYZ> | A collection of points. The points represent an enclosed area in the XY plane. |
| facets | IList<PolymeshFacet> | Triangle facets composing a polygon mesh. Every facet contains 3 integers representing vertex indices. |
| → returns | TopographySurface | The new topography surface. |
TopographySurface.Create(Document, IList<XYZ>)
Became obsolete in 2027: This method is deprecated in Revit 2024 with the introduction of the new Toposolid elements. It is recommended that Toposolid elements should be used in place of TopographySurface elements.
| document | Document | The document to be modified. |
| points | IList<XYZ> | A collection of points. The points represent an enclosed area in the XY plane. There can be only one point in the same XY location. |
| → returns | TopographySurface | The new topography surface. |
TopographySurface.DeletePoints(IList<XYZ>)
Became obsolete in 2027: This method is deprecated in Revit 2024 with the introduction of the new Toposolid elements. It is recommended that TopographySurface elements should be converted to Toposolid elements to enable better editing options.
| points | IList<XYZ> | A collection of points to be deleted. |
TopographySurface.MovePoint(XYZ, XYZ)
Became obsolete in 2027: This method is deprecated in Revit 2024 with the introduction of the new Toposolid elements. It is recommended that TopographySurface elements should be converted to Toposolid elements to enable better editing options.
| movedPoint | XYZ | The point to be moved. |
| targetPoint | XYZ | The new designated location of this point will move to. |
TopographySurface.MovePoints(IList<XYZ>, XYZ)
Became obsolete in 2027: This method is deprecated in Revit 2024 with the introduction of the new Toposolid elements. It is recommended that TopographySurface elements should be converted to Toposolid elements to enable better editing options.
| movedPoints | IList<XYZ> | The points to be moved. |
| moveVector | XYZ | The vector which describes the distance and direction for the move. Note that the Z value represents a change in elevation, pass Z=0 to move the point without changing the elevation. |