Creates point data from AutoCAD Block Reference objects.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public SurfaceOperationAddDrawingObject AddFromBlocks( ObjectIdCollection blockIds, string description )
VB
Public Function AddFromBlocks ( blockIds As ObjectIdCollection, description As String ) As SurfaceOperationAddDrawingObject
C++
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
SurfaceOperationAddDrawingObjectExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the ObjectIdCollection contains objects of types other than Autodesk.AutoCAD.DatabaseServices.BlockReference. |