SurfaceDefinitionDrawingObjectsAddFromBlocks Method

Creates point data from AutoCAD Block Reference objects.

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

Parameters

blockIds  ObjectIdCollection
An ObjectIdCollection of AutoCAD block reference 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.BlockReference.
Remarks
The XYZ coordinates of the insertion point for each block are used to define the surface point.
See Also