Creates surface point data from AutoCAD 3DFace objects.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public SurfaceOperationAdd3DFaces AddFrom3DFaces( ObjectIdCollection face3DIds, bool needMaintainEdge, string description )
Visual Basic
Public Function AddFrom3DFaces ( _ face3DIds As ObjectIdCollection, _ needMaintainEdge As Boolean, _ description As String _ ) As SurfaceOperationAdd3DFaces
Visual C++
public: SurfaceOperationAdd3DFaces^ AddFrom3DFaces( ObjectIdCollection^ face3DIds, bool needMaintainEdge, String^ description )
Parameters
- face3DIds
- Type: ObjectIdCollection
An ObjectIdCollection of AutoCAD 3DFace objects from which the surface point data will be added.
- needMaintainEdge
- Type: System.Boolean
Specifies whether to define the Autodesk Civil 3D triangle edges based on the edges defined in the original AutoCAD object.
- description
- Type: System.String
Specifies the description for the point data to be created.
Remarks
The XYZ coordinates of each object's endpoints are used to define surface points.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the ObjectIdCollection contains objects of types other than Autodesk.AutoCAD.DatabaseServices.Face. |