Table of Contents

Class CadDimensionPicture

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

The drawn picture of a dimension, for code that makes or changes dimensions outside the commands (a Python tool in the app, a plugin, a script over a file). The app draws the picture of a dimension it is given; this does the same.

public static class CadDimensionPicture
Inheritance
CadDimensionPicture
Inherited Members

Methods

Redraw(DxfDimension)

Draws the picture of a dimension anew from its points and the variables it reads now (its overrides, else its style's), as the DIM commands make it, and writes the measurement into it. A rotated dimension of (0, 0) to (100, 0) with the line through (100, 20) gets the lines, arrows and words "100" in its own block.