Generate a solid at elevation from a surface and save solid to file
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public ObjectIdCollection CreateSolidsAtSurfaceToFile(
ObjectId bottomSurfaceId,
string layer,
ushort penIndex,
ref string fileName
) |
Visual Basic |
---|
Public Function CreateSolidsAtSurfaceToFile ( _
bottomSurfaceId As ObjectId, _
layer As String, _
penIndex As UShort, _
ByRef fileName As String _
) As ObjectIdCollection |
Visual C++ |
---|
public:
ObjectIdCollection^ CreateSolidsAtSurfaceToFile(
ObjectId bottomSurfaceId,
String^ layer,
unsigned short penIndex,
String^% fileName
) |
Parameters
- bottomSurfaceId
- Type: ObjectId
- layer
- Type: System..::..String
The layer to place the solid.
- penIndex
- Type: System..::..UInt16
The color index of the solid.
- fileName
- Type: System..::..String%
The full file path of the DWG file.
Remarks
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when :
- The bottom surface ID is invalid.
- The fileName is empty.
|
System..::..InvalidOperationException |
Thrown when there is an Internal error.
|
See Also