2025 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.