CreateFromTopographySurface Method


Toposolid Create From Topography Surface Method

Creates a Toposolid element from a host TopographySurface, and Toposolid sub-divisions from its subregions.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static Toposolid CreateFromTopographySurface(
	Document document,
	ElementId hostSurfaceId,
	ElementId topoTypeId,
	ElementId levelId
)

Parameters

document Document
The document in which the new Toposolid is created.
hostSurfaceId ElementId
Id of the host TopogarphySurface element.
topoTypeId ElementId
Id of the Toposolid type to be used by the new Toposolid.
levelId ElementId
Id of the level on which the Toposolid is to be placed.

Return Value

Toposolid
A new Toposolid object within the project if successful.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →