CadDimInspectRequest
from OpenCAD2D import CadDimInspectRequest
class CadDimInspectRequest(System.Object) ยท CadDimInspectRequest in the .NET reference
The Inspection Dimension dialog of DIMINSPECT, as data its command and the window share: the shape of the frame, the label and the inspection rate that OK writes into every dimension selected, or Remove Inspection, which takes the inspection out of them. The dialog starts from the first selected dimension that has an inspection, and from a round frame with no label and a rate of 100% where none has.
Properties and fields
Action
@property
def Action(self) -> CadDialogAction
@Action.setter
def Action(self, value: CadDialogAction) -> None
Gets or sets what the dialog was closed with; Cancel until set.
DimensionCount
@property
def DimensionCount(self) -> int
Gets how many dimensions the inspection is for.
HasInspection
@property
def HasInspection(self) -> bool
Gets whether a dimension selected has an inspection, so that Remove Inspection has something to take out.
Label
@property
def Label(self) -> str
@Label.setter
def Label(self, value: str | None) -> None
Gets or sets the label, empty for none.
Rate
@property
def Rate(self) -> str
@Rate.setter
def Rate(self, value: str | None) -> None
Gets or sets the inspection rate as the words shown, "100%" until set.
Remove
@property
def Remove(self) -> bool
@Remove.setter
def Remove(self, value: bool) -> None
Gets or sets whether Remove Inspection was pressed: the inspection is taken out of every dimension selected and nothing is written.
Shape
@property
def Shape(self) -> CadInspectionShape
@Shape.setter
def Shape(self, value: CadInspectionShape) -> None
Gets or sets the shape of the frame; round until set.
ShowLabel
@property
def ShowLabel(self) -> bool
@ShowLabel.setter
def ShowLabel(self, value: bool) -> None
Gets or sets whether the label is shown.
WithInspection
@property
def WithInspection(self) -> int
Gets how many of them have an inspection now.
Methods
ToString
def ToString(self) -> str