Table of Contents

CadTemplateOptionsRequest

from OpenCAD2D import CadTemplateOptionsRequest

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

What LAYOUT SAveas gives its Template Options dialog before a .dwt is written: the file, the description (empty to start) and the measurement, metric where the drawing's MEASUREMENT is 1. On OK the template is written with the description in its DWG's template section and MEASUREMENT set as chosen; Cancel writes nothing.

Properties and fields

Description

.NET

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

Gets or sets the description written into the template; empty for none.

FileName

.NET

@property
def FileName(self) -> str

Gets the template file about to be written.

IsAccepted

.NET

@property
def IsAccepted(self) -> bool
@IsAccepted.setter
def IsAccepted(self, value: bool) -> None

Gets or sets whether the dialog closed with OK.

IsMetric

.NET

@property
def IsMetric(self) -> bool
@IsMetric.setter
def IsMetric(self, value: bool) -> None

Gets or sets whether the template's MEASUREMENT is metric (1) rather than English (0).