Table of Contents

CadQLeaderRequest

from OpenCAD2D import CadQLeaderRequest

class CadQLeaderRequest(System.Object) ยท CadQLeaderRequest in the .NET reference

AutoCAD's Leader Settings of QLEADER, as data its command and the window share: the drawing's settings, which the dialog changes as it likes, and the arrowhead (DIMLDRBLK) by its name. OK writes both into the drawing as one undo step; Cancel writes nothing.

Properties and fields

Action

.NET

@property
def Action(self) -> CadDialogAction
@Action.setter
def Action(self, value: CadDialogAction) -> None

Gets or sets what the dialog was closed with: OK writes the settings and the arrow; Cancel until set.

Arrow

.NET

@property
def Arrow(self) -> str
@Arrow.setter
def Arrow(self, value: str | None) -> None

Gets or sets the arrowhead, by its name in CadQLeaderRequest.Arrows, or a block of CadQLeaderRequest.Blocks for a user arrow: DIMLDRBLK's when the dialog opens.

Arrows

.NET

@property
def Arrows(self) -> System.Collections.Generic.IReadOnlyList[str]

Gets the arrowheads offered, as CadArrowheads.Names, and a user arrow the drawing's DIMLDRBLK names.

Blocks

.NET

@property
def Blocks(self) -> System.Collections.Generic.IReadOnlyList[str]

Gets the blocks of the drawing a user arrow can be, as AutoCAD's Select Custom Arrow Block lists them: each block but the layouts, the anonymous ones and the external references, by name, letters of either case together.

Document

.NET

@property
def Document(self) -> CadDocument

Gets the document.

Settings

.NET

@property
def Settings(self) -> CadQLeaderSettings

Gets the settings: the drawing's when the dialog opens, the dialog's on OK.