Creates point data from AutoCAD Block Reference objects.

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

Syntax

C#
public SurfaceOperationAddDrawingObject AddFromBlocks(
	ObjectIdCollection blockIds,
	string description
)
Visual Basic
Public Function AddFromBlocks ( _
	blockIds As ObjectIdCollection, _
	description As String _
) As SurfaceOperationAddDrawingObject
Visual C++
public:
SurfaceOperationAddDrawingObject^ AddFromBlocks(
	ObjectIdCollection^ blockIds, 
	String^ description
)

Parameters

blockIds
Type: ObjectIdCollection
An ObjectIdCollection of AutoCAD block reference objects from which the surface point data will be added.
description
Type: System..::..String
Specifies the description for the point data to be created.

Remarks

The XYZ coordinates of the insertion point for each block are used to define the surface point.

Exceptions

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

See Also