Share

Toposolid.CreateFromTopographySurface 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.3.0.0 (26.3.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

ExceptionCondition
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?