SurfaceDefinitionDrawingObjectsAddFromBlocks Method |
Creates point data from AutoCAD Block Reference objects.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic SurfaceOperationAddDrawingObject AddFromBlocks(
ObjectIdCollection blockIds,
string description
)
Public Function AddFromBlocks (
blockIds As ObjectIdCollection,
description As String
) As SurfaceOperationAddDrawingObject
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
ExceptionsException | Condition |
---|
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