2026 Method
Changes 4
M

Toposolid.CreateFromTopographySurface

Description:
Creates a Toposolid element from a host TopographySurface, and Toposolid sub-divisions from its subregions.
public static Toposolid CreateFromTopographySurface(
	Document document,
	ElementId hostSurfaceId,
	ElementId topoTypeId,
	ElementId levelId
)
  • document
    The document in which the new Toposolid is created.
  • hostSurfaceId
    Id of the host TopogarphySurface element.
  • topoTypeId
    Id of the Toposolid type to be used by the new Toposolid.
  • levelId
    Id of the level on which the Toposolid is to be placed.
Return Value Toposolid A new Toposolid object within the project if successful.