Creates surface point data from AutoCAD PolyFaceMesh objects.

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

Syntax

C#
public SurfaceOperationAddDrawingObject AddFromPolyFaces(
	ObjectIdCollection polyfaceIds,
	bool needMaintainEdge,
	string description
)
Visual Basic
Public Function AddFromPolyFaces ( _
	polyfaceIds As ObjectIdCollection, _
	needMaintainEdge As Boolean, _
	description As String _
) As SurfaceOperationAddDrawingObject
Visual C++
public:
SurfaceOperationAddDrawingObject^ AddFromPolyFaces(
	ObjectIdCollection^ polyfaceIds, 
	bool needMaintainEdge, 
	String^ description
)

Parameters

polyfaceIds
Type: ObjectIdCollection
An ObjectIdCollection of AutoCAD PolyFaceMesh 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 point.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the ObjectIdCollection contains objects of types other than Autodesk.AutoCAD.DatabaseServices.PolyFaceMesh.

See Also