TinSurfaceCreateSolidsAtFixedElevationToFile Method

Generate a solid at elevation from a surface and save solid to file

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public ObjectIdCollection CreateSolidsAtFixedElevationToFile(
	double elevation,
	string layer,
	ushort penIndex,
	ref string fileName
)

Parameters

elevation  Double
The elevation of the solid.
layer  String
The layer to place the solid.
penIndex  UInt16
The color index of the solid.
fileName  String
The full file path of the DWG file.

Return Value

ObjectIdCollection
Exceptions
ExceptionCondition
ArgumentException Thrown when :
  1. Elevation must be positive.
  2. The fileName is empty.
InvalidOperationException Thrown when there is an Internal error.
Remarks
  1. File filename exist - its content will be overwritten.
See Also