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.280
Syntax
C#
public ObjectIdCollection CreateSolidsAtSurfaceToFile( ObjectId bottomSurfaceId, string layer, ushort penIndex, ref string fileName )
VB
Public Function CreateSolidsAtSurfaceToFile ( bottomSurfaceId As ObjectId, layer As String, penIndex As UShort, ByRef fileName As String ) As ObjectIdCollection
C++
public: ObjectIdCollection^ CreateSolidsAtSurfaceToFile( ObjectId bottomSurfaceId, String^ layer, unsigned short penIndex, String^% fileName )
Parameters
- bottomSurfaceId ObjectId
- 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
ObjectIdCollectionExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when :
|
InvalidOperationException | Thrown when there is an Internal error. |
Remarks
- File filename exist - its content will be overwritten.