DbScale.h
This class implements the scale object that stores information about an annotation scale as an element of the database container. The database stores the scale instances in the dictionary and associates the object ID with an each scale instance. The scale dictionary is accessed from the database object using the getScaleListDictionaryId() method. The root drawing dictionary, associates the "ACAD_SCALELIST" name with the scale dictionary.
This class is intended for stand-alone applications only. TXSDK developers cannot use it.
Example of Working with the Scale Object
Example of Working with the Scale Dictionary Object
OdDbAnnotationScale class
|
Name |
Description |
|
Builds an instance of the scale object. |
|
Name |
Description |
|
This function appends this object to the specified owner object during the deep or wblock clone operation. | |
|
Notification function called each time an Undo operation is performed this object is using partial Undo. | |
|
Returns the number of drawing units as a positive Double value. | |
|
Reads the .dwg file data of this object. | |
|
Writes the .dwg file data of this object. | |
|
Reads the DXF data of this object. | |
|
Writes the DXF data of this object. | |
|
| |
|
Determines whether the scale object is temporary stored in the database and returns True if the scale is temporary or False if the scale is fixed. | |
|
Determines whether the scale object is selected as one-to-one (1:1) by default and returns True if the scale is selected (1:1) by default or False if the scale is not the default. | |
|
| |
|
| |
|
Returns the number of paper units as a positive Double value. | |
|
Returns the scale factor as a positive Double value. This factor defines the ratio in which units of model space correlate to the units of paper space and indicates how many paper units fit to one drawing unit. | |
|
Returns the internal scale name as a String value. This name is used as a comment for the ratio of paper units to drawing units when the scale object is displayed in a list. | |
|
Sets the number of drawing units as a positive Double value. The initial value is 1.0 by default. | |
|
Sets the scale temporary status as a Boolean value. The initial value is False by default. | |
|
Sets the scale default status as a Boolean value. The initial value is False by default. | |
|
Sets the number of paper units as a positive Double value. The initial value is 1.0 by default. | |
|
Sets the internal scale name as a String value. This name is used as a comment for the ratio of paper units to drawing units when the scale object is displayed in a list. The initial value is an empty string by default. | |
|
Called as the first operation as this object is being erased or unerased. |
Copyright © 2002–2021. Open Design Alliance. All rights reserved.
|