SurfaceDefinitionDrawingObjectsAddFromLines Method |
Creates surface point data from AutoCAD Line objects.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic SurfaceOperationAddDrawingObject AddFromLines(
ObjectIdCollection lineIds,
bool needMaintainEdge,
string description
)
Public Function AddFromLines (
lineIds As ObjectIdCollection,
needMaintainEdge As Boolean,
description As String
) As SurfaceOperationAddDrawingObject
public:
SurfaceOperationAddDrawingObject^ AddFromLines(
ObjectIdCollection^ lineIds,
bool needMaintainEdge,
String^ description
)
Parameters
- lineIds ObjectIdCollection
- An ObjectIdCollection of AutoCAD Line objects from which the surface point data will be added.
- needMaintainEdge Boolean
- Specifies whether to define the Autodesk Civil 3D triangle edges based on the edges defined in the original AutoCAD object.
- description String
- Specifies the description for the point data to be created.
Return Value
SurfaceOperationAddDrawingObject
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the ObjectIdCollection contains objects of types other than Autodesk.AutoCAD.DatabaseServices.Line.
|
Remarks
The XYZ coordinates of each line's endpoints are used to define surface points.
See Also