Creates a Toposolid element from a host TopographySurface, and Toposolid sub-divisions from its subregions.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
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
See Also
Reference