Table of Contents

CadToleranceValue

from OpenCAD2D import CadToleranceValue

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

A tolerance of a row of the Geometric Tolerance dialog: the diameter sign, the value and the material condition.

Constructors

__init__

def __init__(self) -> None

Properties and fields

Diameter

.NET

@property
def Diameter(self) -> bool
@Diameter.setter
def Diameter(self, value: bool) -> None

Gets or sets whether the value is a diameter, written before it with the gdt letter n.

IsEmpty

.NET

@property
def IsEmpty(self) -> bool

Gets whether the tolerance holds nothing.

Material

.NET

@property
def Material(self) -> CadMaterialCondition
@Material.setter
def Material(self, value: CadMaterialCondition) -> None

Gets or sets the material condition written after the value.

Value

.NET

@property
def Value(self) -> str
@Value.setter
def Value(self, value: str | None) -> None

Gets or sets the value as typed, as "0.1"; empty for none.