Table of Contents

CadLayerTranslatorSettings

from OpenCAD2D import CadLayerTranslatorSettings

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

The Layer Translator's Settings: whether the objects of the translated layers are forced to ByLayer, whether those in blocks are translated, the transaction log and whether a layer selected shows its contents. All are on until set, as AutoCAD's dialog opens them.

Constructors

__init__

def __init__(self) -> None

Properties and fields

ForceColorByLayer

.NET

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

Gets or sets whether the objects of the translated layers are given the colour ByLayer.

ForceLinetypeByLayer

.NET

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

Gets or sets whether the objects of the translated layers are given the linetype ByLayer.

ForceTransparencyByLayer

.NET

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

Gets or sets whether the objects of the translated layers are given the transparency ByLayer.

ShowLayerContents

.NET

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

Gets or sets whether a layer selected in the lists shows only its objects in the drawing, for as long as it is selected.

TranslateObjectsInBlocks

.NET

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

Gets or sets whether the objects in the definitions of blocks are translated too; off, only those of model space and the layouts are.

WriteTransactionLog

.NET

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

Gets or sets whether a transaction log is written beside the drawing: what was moved, created and deleted.