Class CadWriteBlockRequest
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
The Write Block dialog of WBLOCK, as data its command and the window share: the source, its base point and objects, and the file written.
public sealed class CadWriteBlockRequest
- Inheritance
-
CadWriteBlockRequest
- Inherited Members
Constructors
- CadWriteBlockRequest(CadDocument)
Makes the request of a document, as WBLOCK opens its dialog: Objects, Retain, the drawing's units.
Properties
- Action
Gets or sets what the window's dialog was closed with; Cancel until set.
- BasePoint
Gets or sets the base point of objects written, which comes to the origin of the new drawing.
- BlockName
Gets or sets the block written where the source is a block.
- Document
Gets the document written from.
- FileDialogs
Gets or sets whether the file box's Browse… shows the window's file dialog, as FILEDIA 1 has it; false, as with FILEDIA 0, the dialog closes with Browse for the file to be asked on the command line. True until set.
- FileName
Gets or sets the path of the file written: a DWG of AutoCAD 2018 where it ends in .dwg, else a DXF.
- ObjectAction
Gets or sets what becomes of the objects; Retain until set, as AutoCAD's dialog opens.
- Objects
Gets or sets the handles of the objects written, in ordinal order.
- Source
Gets or sets where what is written comes from; Objects until set.
- Units
Gets or sets the unit of the new drawing ($INSUNITS); the drawing's own until set.