CadInsertLayoutRequest
from OpenCAD2D import CadInsertLayoutRequest
class CadInsertLayoutRequest(System.Object) ยท CadInsertLayoutRequest in the .NET reference
What LAYOUT Template gives its Insert Layout(s) dialog once the template file is chosen: the file and the names of its layouts in the order of its tabs. The dialog fills CadInsertLayoutRequest.Picked; on OK each layout picked comes in after the drawing's last tab, as the typed Template brings it in, one undo step. A template of A1 Sheet, Details and Cover lists the three, the first picked to start with.
Properties and fields
FileName
@property
def FileName(self) -> str
Gets the template file the layouts are read from.
IsAccepted
@property
def IsAccepted(self) -> bool
@IsAccepted.setter
def IsAccepted(self, value: bool) -> None
Gets or sets whether the dialog closed with OK.
LayoutNames
@property
def LayoutNames(self) -> System.Collections.Generic.IReadOnlyList[str]
Gets the names of the template's layouts, in the order of its tabs.
Picked
@property
def Picked(self) -> System.Collections.Generic.IList[str]
Gets the names of the layouts the dialog picked.