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: 24.0.0.0 (24.0.0.0)
Since: 2024
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- document
- Type: Autodesk.Revit.DBDocument
The document in which the new toposolid is created.
- hostSurfaceId
- Type: Autodesk.Revit.DBElementId
Id of the host TopogarphySurface element.
- topoTypeId
- Type: Autodesk.Revit.DBElementId
Id of the toposolid type to be used by the new toposolid.
- levelId
- Type: Autodesk.Revit.DBElementId
Id of the level on which the toposolid is to be placed.
Return Value
A new toposolid object within the project if successful.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |