Table of Contents

CadConstraintBar

from OpenCAD2D import CadConstraintBar

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

The constraint bar of one object or polyline segment: the icons of the geometric constraints on it, and where the object's middle lies in the drawing, the bar standing near it.

Properties and fields

Handle

.NET

@property
def Handle(self) -> str

Gets the handle of the object.

Icons

.NET

@property
def Icons(self) -> System.Collections.Generic.IReadOnlyList[CadConstraintIcon]

Gets the icons, in the order the constraints were made.

X

.NET

@property
def X(self) -> float

Gets the x of the place the bar stands by, in the drawing.

Y

.NET

@property
def Y(self) -> float

Gets the y of the place the bar stands by, in the drawing.