Class CadScaleListRequest
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
AutoCAD's Edit Drawing Scales of SCALELISTEDIT, as data its command and the window share: the drawing's list of scales (ACAD_SCALELIST) in its order, which the dialog changes as it likes, and the default list Reset puts back. OK writes the list as it is then into the drawing as one undo step: the scales taken out deleted, the ones changed renamed and given their units, the new ones added and every one put in its place; Cancel writes nothing.
public sealed class CadScaleListRequest
- Inheritance
-
CadScaleListRequest
- Inherited Members
Properties
- Defaults
Gets the default list Reset puts back, as AutoCAD 2021's: the metric scales 1:1 to 100:1 (17), or, in a drawing in imperial units (MEASUREMENT 0, or none in its header, as AutoCAD reads it), 1:1 and the imperial ones 1/128" = 1'-0" to 1'-0" = 1'-0" (17).
- Document
Gets the document.
- ImperialDefaults
Gets the list Reset's Imperial scales puts back: 1:1 and 1/128" = 1'-0" to 1'-0" = 1'-0" (17 scales).
- MetricAndImperialDefaults
Gets the list Reset's Metric and Imperial scales puts back: the 17 metric scales, then the 16 imperial ones that are not 1:1 (33 scales).
- MetricDefaults
Gets the list Reset's Metric scales puts back: 1:1 to 100:1 (17 scales).
- Scales
Gets or sets the scales in their order: the drawing's when the dialog opens, the dialog's on OK.