WriteBlockByName Method (IDocument)
Saves the specified Block in this drawing to a new drawing file.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub WriteBlockByName( _
const dsString& BlockName As System.String, _
long Units As System.Integer, _
const dsString& Destination As System.String _
) |
Parameters
- BlockName
- Name of the Block to save to a drawing file (see Remarks)
- Units
- Units as defined in dsBlockInsertUnits_e to use for automatic scaling when the file is inserted in a drawing that uses different units
- Destination
- Path and filename where to save this block, e.g., "c:\my_block.dwg"
Remarks
See Also
Availability
DraftSight 2017 SP2