Generate a solid with constant depth from a surface
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public ObjectIdCollection CreateSolidsAtDepth( double depth, string layer, ushort penIndex )
VB
Public Function CreateSolidsAtDepth ( depth As Double, layer As String, penIndex As UShort ) As ObjectIdCollection
C++
public: ObjectIdCollection^ CreateSolidsAtDepth( double depth, String^ layer, unsigned short penIndex )
Parameters
- depth Double
- The depth of the solid.
- layer String
- The layer to place the solid.
- penIndex UInt16
- The color index of the solid.
Return Value
ObjectIdCollectionExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when :
|
InvalidOperationException | Thrown when there is an Internal error. |