Creates point data from AutoCAD Block Reference objects.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.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
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the ObjectIdCollection contains objects of types other than Autodesk.AutoCAD.DatabaseServices.BlockReference. |