Table of Contents

Class CadAttributeDefinitionRow

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

One attribute definition of a block as the Block Attribute Manager lists and edits it: its tag, prompt and default, its modes, its text options and its properties. The manager edits a copy; nothing reaches the drawing until Apply, OK or Sync.

public sealed class CadAttributeDefinitionRow
Inheritance
CadAttributeDefinitionRow
Inherited Members

Properties

Backwards

Gets or sets whether the text is written backwards (mirrored in X).

BoundaryWidth

Gets or sets the width of the text of an attribute of several lines; nought for one line.

ColorIndex

Gets or sets the colour as its index: 256 ByLayer, 0 ByBlock, 1 to 255 the index colours.

Constant

Gets or sets whether its value is fixed (Constant); set by ATTDEF, not by the manager.

Default

Gets or sets the default value.

Handle

Gets or sets the handle of the ATTDEF the row was read from.

Height

Gets or sets the height.

Invisible

Gets or sets whether the attribute is not shown (Invisible).

Justification

Gets or sets the justification.

Layer

Gets or sets the layer.

LineWeight

Gets or sets the lineweight in hundredths of a millimetre; -1 ByLayer, -2 ByBlock, -3 the default.

Linetype

Gets or sets the linetype, ByLayer and the rest by name.

LockPosition

Gets or sets whether it keeps its place in the block (Lock position).

Modes

Gets the modes as the manager's Modes column writes them, a letter for each set in AutoCAD's order: I invisible, C constant, V verify, P preset, L lock position, M multiple lines. A locked attribute of a constant value reads CL.

MultipleLines

Gets or sets whether it is of several lines (Multiple lines); set by ATTDEF, not by the manager.

Oblique

Gets or sets the oblique angle, in radians.

Preset

Gets or sets whether its default is taken without asking (Preset).

Prompt

Gets or sets what an INSERT asks for it, Grid letter.

Rotation

Gets or sets the rotation, in radians.

Tag

Gets or sets the tag, GRID: one word, written in capitals.

TextStyle

Gets or sets the text style.

UpsideDown

Gets or sets whether the text is upside down (mirrored in Y).

Verify

Gets or sets whether its value is asked twice (Verify).

WidthFactor

Gets or sets the width factor.

Methods

Clone()

Gets a copy of the row.