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.
File: DbScale.h
Module: API Reference
Example of Working with the Scale Object
Example of Working with the Scale Dictionary Object
OdDbAnnotationScale class
Builds an instance of the scale object. | |
(Inherited from OdDbObject) |
(Inherited from OdDbObject) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbObject) |
(Inherited from OdDbObject) | |
| |
Adds the specified persistent reactor to this object's reactor list. (Inherited from OdDbObject) | |
Adds the specified transient reactor to this object's reactor list. (Inherited from OdDbObject) | |
Increments the reference count of this object. (Inherited from OdDbObject) | |
This function appends this object to the specified owner object during the deep or wblock clone operation. (Inherited from OdDbObject) | |
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. (Inherited from OdDbObject) | |
Notification function called each time an Undo operation is performed this object is using partial Undo. | |
Throws an exception if this object is not open OdDb::kForNotify. (Inherited from OdDbObject) | |
Throws an exception if this object is not open OdDb::kForRead. (Inherited from OdDbObject) | |
Throws an exception if this object is not open OdDb::kForWrite, and controls automatic undo and notification of modifications. (Inherited from OdDbObject) | |
Perform an audit operation on this object. (Inherited from OdDbObject) | |
After loading from file, performs necessary actions which require accessing other Database objects. For example, processing round-trip data. (Inherited from OdDbObject) | |
The method should be called from *decomposeForSave()* of custom container objects for owned child objects. It calls child's decomposeForSave() method plus performs other required actions (handOverTo, exchanging XData, etc.) (Inherited from OdDbObject) | |
Notification function called whenever the notifying object has had its clone() member function called. (Inherited from OdDbObject) | |
Copies the contents of the specified object into this object when possible. (Inherited from OdDbObject) | |
Creates an OdDbDictionary extension dictionary of this object. (Inherited from OdDbObject) | |
Creates or retrieves the specified Xrecord in this object's extension dictionary. (Inherited from OdDbObject) | |
Returns the OdDbDatabase that contains this object. (Inherited from OdDbObject) | |
This is the overview for the decomposeForSave method overload. | |
Performs a deep clone of this object. (Inherited from OdDbObject) | |
Controls the undo recording of this object in OdDbDatabase. (Inherited from OdDbObject) | |
Downgrades this object from OdDb::kForWrite to OdDb::kForRead (Inherited from OdDbObject) | |
Returns a pointer to the OdGiDrawable for the object. If the object doesn't have an associated OdGiDrawable object, this function returns NULL. (Inherited from OdDbObject) | |
Returns the number of drawing units as a positive Double value. | |
Reads the .dwg file format data of this object from the specified file. (Inherited from OdDbObject) | |
Reads the .dwg file data of this object. (Inherited from OdDbObject) | |
Reads the .dwg file data of this object. | |
Writes the .dwg file format data of this object to the specified filer. (Inherited from OdDbObject) | |
Writes the .dwg file data of this object. (Inherited from OdDbObject) | |
Writes the .dwg file data of this object. | |
Reads the DXF format data of this object from the specified filer. (Inherited from OdDbObject) | |
Reads the DXF data of this object. (Inherited from OdDbObject) | |
Reads the DXF data of this object. | |
Reads the DXF R12 format data of this object. (Inherited from OdDbObject) | |
Writes the DXF format data of this object to the specified filer. (Inherited from OdDbObject) | |
Writes the DXF data of this object. (Inherited from OdDbObject) | |
Writes the DXF data of this object. | |
Writes the DXF data of this object. (Inherited from OdDbObject) | |
Sets the erased mode of this object. (Inherited from OdDbObject) | |
Notification function called whenever an object has been erased or unerased. (Inherited from OdDbObject) | |
Returns the Object ID of this object's extension dictionary. (Inherited from OdDbObject) | |
Returns the CLSID value associated with this object. (Inherited from OdDbObject) | |
Returns the persistent handle of this database object. (Inherited from OdDbObject) | |
This is the overview for the getField method overload. | |
This is the overview for the getFieldDictionary method overload. | |
Returns the drawing and maintenance release version into which this object must be stored. (Inherited from OdDbObject) | |
Returns Object IDs of this object's persistent reactors. (Inherited from OdDbObject) | |
Returns this object's transient reactors. (Inherited from OdDbObject) | |
!DOM... more | |
Notification function called just before an object is deleted from memory. (Inherited from OdDbObject) | |
Returns the OdGsCache of an OdGiDrawable object. (Inherited from OdDbObject) | |
Replaces this database -resident (DBRO) object with the specified non- database -resident (NDBRO) object, while retaining this object's objectId, handle, owner, and reactor list. (Inherited from OdDbObject) | |
Returns the persistent handle of this database object. (Inherited from OdDbObject) | |
Returns true if and only if this object has fields. (Inherited from OdDbObject) | |
This method returns true if objId is the Object ID of a reactor attached to this object. Otherwise, it returns false. (Inherited from OdDbObject) | |
Returns true if and only if this object has its bit set to override the filer version. (Inherited from OdDbObject) | |
Returns the database ID corresponding to this object. (Inherited from OdDbObject) | |
Returns true if and only if this object is a proxy object or entity. (Inherited from OdDbObject) | |
Returns true if and only this object is a database -resident object. (Inherited from OdDbObject) | |
Returns true if and only if this object's erased status has been toggled since it was opened. (Inherited from OdDbObject) | |
Returns true if and only if this object is marked as erased. (Inherited from OdDbObject) | |
Returns true if and only if this object's assertWriteEnabled() has been called since it was opened. (Inherited from OdDbObject) | |
Returns true if and only if an object derived from OdDbEntity has been modified. (Inherited from OdDbObject) | |
Returns true if and only this object's assertWriteEnabled() and setXData() have been called since it was opened. (Inherited from OdDbObject) | |
Returns true if and only if this object has not been closed since it was created. (Inherited from OdDbObject) | |
Returns true if and only if this object is open OdDb::kForNotify. (Inherited from OdDbObject) | |
Returns true if and only if this object is sending notification. (Inherited from OdDbObject) | |
Returns true if and only if this object's Object ID is not valid because the OdDbObject::subDeepClone or OdDbObject::subWblockClone() have yet to be completed. (Inherited from OdDbObject) | |
Return true if and only if this object is database -resident (DBRO). (Inherited from OdDbObject) | |
Returns true if and only if this object is open OdDb::kForRead. (Inherited from OdDbObject) | |
Returns true if and only if a call to close would completely close this object at this time. (Inherited from OdDbObject) | |
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. | |
Returns true if and only if this object is taking part in an Undo operation. (Inherited from OdDbObject) | |
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 true if and only if this object is open OdDb::kForWrite. (Inherited from OdDbObject) | |
Returns the merge style of this object. (Inherited from OdDbObject) | |
Notification function called whenever an object is opened OdDb::kForWrite, a function has been called that could modify the contents of this object, and this object is now being closed. (Inherited from OdDbObject) | |
Notification function called whenever an object derived from OdDbEntity is modified. (Inherited from OdDbObject) | |
Notification function called whenever the XData has been written to the notifying object. (Inherited from OdDbObject) | |
Notification function called whenever the notifying object is in the midst an Undo operation that is undoing modifications. (Inherited from OdDbObject) | |
!DOM... more | |
Returns the reference count of this object. (Inherited from OdDbObject) | |
Notification function called immediately before an object is closed. (Inherited from OdDbObject) | |
Returns the Object ID of this object. (Inherited from OdDbObject) | |
Notification function called whenever an object is opened for modify OdDb::kForWrite. (Inherited from OdDbObject) | |
Returns the Object ID of this object's owner. (Inherited from OdDbObject) | |
Returns the number of paper units as a positive Double value. | |
Notification function called whenever a Redo process processes the reappending of the notifying object to the database. (Inherited from OdDbObject) | |
Allows a subobject of a complex object to notify its root object that it has been changed. (Inherited from OdDbObject) | |
Decrements the reference count of this object. (Inherited from OdDbObject) | |
Releases and erases this object's extension dictionary if it exists and is empty. (Inherited from OdDbObject) | |
This is the overview for the removeField method overload. | |
Removes the specified persistent reactor from this object's reactor list. (Inherited from OdDbObject) | |
Removes the specified transient reactor from this object's reactor list. (Inherited from OdDbObject) | |
!DOM (Inherited from OdDbObject) | |
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. | |
Adds the specified field to the field dictionary of this object. (Inherited from OdDbObject) | |
Assigns the specified OdGsCache to the calling object. (Inherited from OdDbObject) | |
Controls the flag specifying that this object overrides the save filer version. (Inherited from OdDbObject) | |
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. | |
Called on a new created cloned object to indicate that its Object ID is not valid. (Inherited from OdDbObject) | |
Sets this object's ownerId data member. (Inherited from OdDbObject) | |
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. | |
Sets the XData of this object. (Inherited from OdDbObject) | |
Called as the first operation as this object is being closed, for database -resident objects only. (Inherited from OdDbObject) | |
Called as the first operation as this object is being erased or unerased. (Inherited from OdDbObject) | |
Called as the first operation as this object is being erased or unerased. | |
Called as the first operation of the handOverTo function. (Inherited from OdDbObject) | |
Notification function called whenever a method of the specified subobject has called assertWriteEnabled() (Inherited from OdDbObject) | |
Notification function called by the Drawings framework immediately before an object is opened. (Inherited from OdDbObject) | |
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits. (Inherited from OdDbObject) | |
Called as the first operation of swapIdWith (Inherited from OdDbObject) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbObject) | |
Swaps the objectIDs, handles, XData,and extension dictionary between this object and another object. (Inherited from OdDbObject) | |
Notification function called whenever the Undo process processes the appending of the notifying object to the database. (Inherited from OdDbObject) | |
Returns the undo filer associated with this object. (Inherited from OdDbObject) | |
Upgrades this object from OdDb::kForRead to OdDb::kForWrite. (Inherited from OdDbObject) | |
Performs a shallow clone of this object. (Inherited from OdDbObject) | |
Returns a linked list of ResBufs containing a copy of the XData of this object. (Inherited from OdDbObject) | |
Applies the 3D transformation matrix to the XData of this object. (Inherited from OdDbObject) | |
Allows a subobject of a complex object to notify its root object that it has been changed. (Inherited from OdDbObject) |
Copyright © 2002-2022. Open Design Alliance All rights reserved.
|