CadObjectScaleRequest
from OpenCAD2D import CadObjectScaleRequest
class CadObjectScaleRequest(System.Object) ยท CadObjectScaleRequest in the .NET reference
What OBJECTSCALE gives its Annotation Object Scale dialog: the drawing's scale list in its order, and the scales each selected annotative object is shown at. The dialog fills CadObjectScaleRequest.ToAdd and CadObjectScaleRequest.ToDelete; on OK every object is given each scale to add it is not shown at, and loses each scale to delete it is shown at but for its last, in one undo step. Three texts, at 1:1 and 1:50, at 1:50, and at 1:50 and 1:100, list 1:1, 1:50 and 1:100, or 1:50 alone when only the scales common to all are listed.
Properties and fields
DrawingScales
@property
def DrawingScales(self) -> System.Collections.Generic.IReadOnlyList[CadScaleListRow]
Gets the drawing's scales, in the order of its list (SCALELISTEDIT).
IsAccepted
@property
def IsAccepted(self) -> bool
@IsAccepted.setter
def IsAccepted(self, value: bool) -> None
Gets or sets whether the dialog closed with OK.
ObjectScales
@property
def ObjectScales(self) -> System.Collections.Generic.IReadOnlyList[System.Collections.Generic.IReadOnlyList[str]]
Gets, for each selected annotative object, the names of the scales it is shown at.
ToAdd
@property
def ToAdd(self) -> System.Collections.Generic.IList[str]
Gets the names of the scales the dialog adds to every selected object.
ToDelete
@property
def ToDelete(self) -> System.Collections.Generic.IList[str]
Gets the names of the scales the dialog takes from the selected objects.