Method Named
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Named(DxfDatabase)
Gets the blocks of a drawing a user names, in ordinal order of their names, letters of either case alike first: no layout, no block AutoCAD names itself (*U1, *D2), no external reference.
public static IReadOnlyList<DxfBlockTableRecord> Named(DxfDatabase database)
Parameters
databaseDxfDatabaseThe drawing.
Returns
- IReadOnlyList<DxfBlockTableRecord>
The blocks.
Exceptions
- ArgumentNullException
Thrown when the drawing is null.