Class CadBlockDefinitionRequest
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
The Block Definition dialog of BLOCK, as data its command and the window share: the window fills it and says what was pressed in Action; the command asks the picks and makes the block. A test fills it with no window.
public sealed class CadBlockDefinitionRequest
- Inheritance
-
CadBlockDefinitionRequest
- Inherited Members
Constructors
- CadBlockDefinitionRequest(CadDocument)
Makes the request of a document, as BLOCK opens its dialog: Convert to block, Allow exploding, the drawing's units.
Properties
- Action
Gets or sets what the window's dialog was closed with; Cancel until set.
- AllowExploding
Gets or sets whether the INSERTs of the block may be exploded (Allow exploding); true until set.
- BasePoint
Gets or sets the base point, in world coordinates; the origin until picked or typed. The block is defined in the axes of the current UCS, turned about this point where the UCS is turned (see
BLOCKin the editing guide).
- Description
Gets or sets the description of the block.
- Document
Gets the document the block is made in.
- Name
Gets or sets the name of the block, GRID_BUBBLE; up to 255 letters, none of <>/":;?*|,=`.
- ObjectAction
Gets or sets what becomes of the objects; Convert to block until set, as AutoCAD's dialog opens.
- Objects
Gets or sets the handles of the objects the block is made of, in ordinal order.
- OpenInBlockEditor
Gets or sets whether the Block Editor is to open on the block once it is made, as the dialog's "Open in block editor" box says; the window does it.
- Redefine
Gets or sets whether a block of the name already defined is to be defined again, as the dialog's question answered Yes.
- ScaleUniformly
Gets or sets whether the INSERTs of the block scale it alike along every axis (Scale uniformly).
- SpecifyBasePointOnScreen
Gets or sets whether the base point is asked on the command line after OK (Specify On-screen).
- SpecifyObjectsOnScreen
Gets or sets whether the objects are asked on the command line after OK (Specify On-screen).
- Units
Gets or sets the unit of the block, which an INSERT scales to the drawing's; the drawing's own until set.