CreateSolidsAtFixedElevation Method

Generate a solid at certain elevation from a surface

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

Syntax

C#

public ObjectIdCollection CreateSolidsAtFixedElevation(
	double elevation,
	string layer,
	ushort penIndex
)

Visual Basic

Public Function CreateSolidsAtFixedElevation ( _
	elevation As Double, _
	layer As String, _
	penIndex As UShort _
) As ObjectIdCollection

Visual C++

public:
ObjectIdCollection^ CreateSolidsAtFixedElevation(
	double elevation, 
	String^ layer, 
	unsigned short penIndex
)

Parameters

elevation
Type: System.Double
The elevation 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 elevation is invalid.
System.InvalidOperationException Thrown when there is an Internal error.

See Also