Table of Contents

Class CadTranslateLayer

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

A layer of the Layer Translator's lists, as a layer of the drawing or of a standards file: the settings a layer of that name has, or is to be given. A layer WALL of colour 1, linetype HIDDEN, 0.35 mm lineweight and no transparency is one of these; mapped to by OLD-WALL, it makes OLD-WALL's objects WALL's.

public sealed class CadTranslateLayer
Inheritance
CadTranslateLayer
Inherited Members

Constructors

CadTranslateLayer(string)

Makes a layer of the colour white (7) and the linetype Continuous, as AutoCAD's New layer in the translator.

Properties

Color

Gets or sets the colour; white (7) until set.

IsInUse

Gets whether anything of the drawing is on the layer, or a block, a style or the header names it; true for a layer of the Translate From list that is used.

LineWeight

Gets or sets the lineweight; the drawing's default until set.

LinetypeName

Gets or sets the name of the linetype; Continuous until set.

Name

Gets the layer's name.

PlotStyleName

Gets or sets the name of the plot style; empty for none.

TransparencyPercent

Gets or sets the transparency in per cent, from 0 (solid) to 90.

Methods

Clone()

Makes another layer of the same settings.