Share

SurfaceDefinitionDrawingObjects.AddFromTexts Method

Creates surface point data from AutoCAD Text objects.



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

Syntax

C#

public SurfaceOperationAddDrawingObject AddFromTexts(
	ObjectIdCollection textIds,
	string description
)

VB

Public Function AddFromTexts ( 
	textIds As ObjectIdCollection,
	description As String
) As SurfaceOperationAddDrawingObject

C++

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

Reference

Was this information helpful?