SurfaceDefinitionDrawingObjectsAddFromTexts Method

Creates surface point data from AutoCAD Text objects.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public SurfaceOperationAddDrawingObject AddFromTexts(
	ObjectIdCollection textIds,
	string description
)

Parameters

textIds  ObjectIdCollection
An ObjectIdCollection of AutoCAD Text objects from which the surface point data will be added.
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.DBText and Autodesk.AutoCAD.DatabaseServices.MText.
Remarks
The XYZ coordinates of each text insertion point are used to define the surface point.
See Also