Generate a solid at intersection of two surfaces.

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

Syntax

C#
public ObjectIdCollection CreateSolidsAtSurface(
	ObjectId bottomSurfaceId,
	string layer,
	ushort penIndex
)
Visual Basic
Public Function CreateSolidsAtSurface ( _
	bottomSurfaceId As ObjectId, _
	layer As String, _
	penIndex As UShort _
) As ObjectIdCollection
Visual C++
public:
ObjectIdCollection^ CreateSolidsAtSurface(
	ObjectId bottomSurfaceId, 
	String^ layer, 
	unsigned short penIndex
)

Parameters

bottomSurfaceId
Type: ObjectId
The ID of the bottom surface to instersect with.
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 bottom surface is invalid.
System..::..InvalidOperationException Thrown when there is an Internal error.

See Also