Class CadDrawingChange
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
One object of a comparison of two drawings: where it is, what it is, and for a changed one what differs.
public sealed class CadDrawingChange
- Inheritance
-
CadDrawingChange
- Inherited Members
Properties
- BoxAfter
Gets the box it takes in the second drawing; null for a removed object or one that draws nothing.
- BoxBefore
Gets the box it took in the first drawing,
[minX, minY, maxX, maxY]in millimetres; null for an added object or one that draws nothing.
- Handle
Gets the handle of the object: its own for one that stands in a space, the handle of the block reference it came out of for one drawn by a block, which then shares it with its pieces (see Handle).
- Kind
Gets the DXF name of the kind, as
LINEorMTEXT.
- Layer
Gets the layer; of the first drawing for a removed one, else of the second.
- Layout
Gets the layout it is drawn in, or
Model; of the first drawing for a removed one, else of the second.
- MovedBy
Gets how far its box moved,
[dx, dy]in millimetres, where it kept its width and height and its place changed; null where it did not move, or changed its size, or has no box in one of the drawings.
- Properties
Gets the names of what differs, in alphabetical order, as the JSON of CadDrawingJson names its fields (
layer,color,box,start,text); empty for an object added or removed.