Share

SurfaceDefinitionDrawingObjects.AddFromPolyFaces Method

Creates surface point data from AutoCAD PolyFaceMesh objects.



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

Syntax

C#

public SurfaceOperationAddDrawingObject AddFromPolyFaces(
	ObjectIdCollection polyfaceIds,
	bool needMaintainEdge,
	string description
)

VB

Public Function AddFromPolyFaces ( 
	polyfaceIds As ObjectIdCollection,
	needMaintainEdge As Boolean,
	description As String
) As SurfaceOperationAddDrawingObject

C++

public:
SurfaceOperationAddDrawingObject^ AddFromPolyFaces(
	ObjectIdCollection^ polyfaceIds, 
	bool needMaintainEdge, 
	String^ description
)

Parameters

polyfaceIds  ObjectIdCollection
An ObjectIdCollection of AutoCAD PolyFaceMesh 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

Exceptions

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

Remarks

The XYZ coordinates of each object's endpoints are used to define surface point.

See Also

Reference

Was this information helpful?