Table of Contents

CadAnnotationScale

from OpenCAD2D import CadAnnotationScale

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

The annotation scale of model space (CANNOSCALE) set as AutoCAD 2021 sets it: the scale named, and with ANNOAUTOSCALE on each annotative object of model space shown at it as OBJECTSCALE shows it, the layers it takes by the size of the variable.

Methods

Set

.NET

@staticmethod
def Set(database: DxfDatabase, name: str, autoScale: int) -> int

Sets CANNOSCALE and, where autoScale is above nought, gives the annotative objects of model space the scale: with 1 those on layers that are on, thawed and not locked, with 2 those on layers that are on and thawed (locked ones too), with 3 those on layers that are not locked (off and frozen ones too), and with 4 all of them. An object that cannot be shown at the scale (a kind the presenter lays out at one scale only) is left, and one shown at it already.