CreateSolidsAtDepth Method

Generate a solid with constant depth from a surface

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0

Syntax

C#

public ObjectIdCollection CreateSolidsAtDepth(
	double depth,
	string layer,
	ushort penIndex
)

Visual Basic

Public Function CreateSolidsAtDepth ( _
	depth As Double, _
	layer As String, _
	penIndex As UShort _
) As ObjectIdCollection

Visual C++

public:
ObjectIdCollection^ CreateSolidsAtDepth(
	double depth, 
	String^ layer, 
	unsigned short penIndex
)

Parameters

depth
Type: System.Double
The depth of the solid.
layer
Type: System.String
The layer to place the solid.
penIndex
Type: System.UInt16
The color index of the solid.

Remarks

Exceptions

ExceptionCondition
System.ArgumentException Thrown when :
  1. The fileName is empty.
System.InvalidOperationException Thrown when there is an Internal error.

See Also