Share

AcDb Global Functions

Description

Defines global functions specific to AcDb classes.

Functions

Function Description
accessAcDbObjectForWrite For Internal Use Only. New callers should use AcDbSmartObjectPointerReturns Acad::eOk if successful. Otherwise, it could be eWrongObjectType , eNotThatKindOfClass, eWasErased, or ePermanentlyErased. If the return status is eOk, then one should call revertAcDbObjectForWrite with all the parameter values returned from this call to ensure proper reversal of the changed open.
acdbActiveDatabaseArray Get the array of currently active databases.
acdbAddAnnotationScaleReactor Adds an AcDbAnnotationScaleReactor reactor.Returns true if successful.
acdbAddFieldReactor Adds the field reactor to the field framework.Returns Acad::eOk if successful.
acdbAlloc Used in place of malloc(), alloc(), and calloc() to allocate memory from the AcDbObject memory heap. Any memory freed by deleting an AcDbObject should be allocated from this pool.Since these are overridden at the AcDbObject level. The preferred method is to use new and delete, so when they are used within member functions of any class derived (either directly or indirectly) from AcDbObject, the correct memory heap will be used.
acdbAngToF Converts a string representation of an angle to a double-precision floating-point value.The unit value should correspond to a valid value for the AutoCAD system variable AUNITS, as shown in following table:
acdbAssignGelibCurveToAcDbCurve This function takes an AcGeCurve3d and sets the specified AcDbCurve to be geometrically identical to the AcGeCurve3d.
acdbAttachPointCloudEntity Attach a point cloud file into drawing as external reference item.Note:AcDbPointCloudObj.dbx must be loaded before this function is used.
acdbAttachPointCloudExEntity Create an AcDbPointCloudEx entity.Note: AcDbPointCloudObj.dbx must be loaded before this function is used.
acdbAttachXref Attaches the xref file specified by pFilename to the database specified by pDb, thus creating a new xref AcDbBlockTableRecord. The new block table record's name is specified in pBlockName. Its object ID is returned in xrefBlkId.This function does not lock the document, nor does it create an AcDbBlockReference instance of the new block table record.Xref log file processing is available if that option is enabled. Normal AutoCAD behavior with regard to output indicators, such as progress meters and messages, may be unavailable if scripts are enabled and cmdecho is 0, if menu macros are... more
acdbBeginDrawStreamBuilding Establishes a relationship between the AcGiDrawStream object and the entity object it is associated with, allowing the AcGiDrawStream object to record the stream of drawing data it generates when the entity object is regenerated, thus completing the creation process.When the creation is complete, clients can use the acdbEndDrawStreamBuilding function to separate the AcGiDrawStream object from the entity object. A typical usage scenario is to implement your own AcGiDrawableReactor:
  1. Call the acdbBeginDrawStreamBuilding function in the beginRegen event to attach the drawstream object.
  2. Call the acdbEndDrawStreamBuilding function in the endRegen event to detach the drawstream object.
Besides, within AutoCAD all... more
acdbBindXrefs This function binds the xrefs whose AcDbBlockTableRecord object IDs are in xrefBlkIds. If bInsertBind is true, then the symbolTable record names will be changed from the xref naming convention to normal insert block names. The object IDs in xrefBlkIds must all be from pHostDb and they must all be resolved unless bAllowUnresolved is true. If bAllowUnresolved is true, then unresolved xrefs involved in the bind operation will have their BlockTableRecord set to a normal BlockTableRecord and a text entity containing the path/filename of the xref will be added to the BlockTableRecord. If pHostDb is NULL,... more
acdbGetBreakSubentIndex Retrieves the subent index.Returns Acad::eOk if successful; otherwise, returns an AutoCAD error status.
acdbCanonicalToSystemRange This function converts the canonical value represented by strIn to a value within the system range. It returns the converted value, expressed as a string in the units specified by eUnits, in strOut. See AcDbDynBlockReferenceProperty::UnitsType for possible values of eUnits.Returns true if successful, or if strIn is an empty string.
acdbCleanUpacdbCleanUp() causes a variety of "cleaning up" actions to happen before your host application unloads. Most of these actions are for internal housekeeping, but one action is to alert all the loaded .dbx applications that it is time to unload.RealDWG host applications must call this function before exiting. ObjectARX programs must not call this function, because AutoCAD will handle the cleanup activities.
acdbClearSetupForLayouts This function resets the layout manager to work with the document/database identified by contextHandle.Returns Acad::eOk if successful.
acdbConvertAcDbCurveToGelibCurve This function takes an AcDbCurve and returns an AcGeCurve3d that is geometrically identical to the AcDbCurve.
acdbConvertGelibCurveToAcDbCurve This function takes an AcGeCurve3d and returns an AcDbCurve that is geometrically identical to the AcGeCurve3d.
acdbConvertHslToRgb Converts a color from HSL(also known as HLS) to RGB color space.
acdbConvertRgbToHsl Converts a color from RGB to HSL (also known as HLS) color space.
acdbCreatePointCloudEntity Creates an AcDbPointCloud entity.Note: AcDbPointCloudObj.dbx must be loaded before this function is used.
acdbCreateViewByViewport This function creates a view from the given viewport. It is a view of the viewport in its layout. The size of the view is stretched to include any associated label block as well as some desirable padding around the sum of the viewport and label block extents.Returns Acad::eOk on success. Returns Acad::eNullObjectId if an error occurred while retrieving the layout of the viewport. Returns other error codes if the viewport, the block containing the viewport, or the label block could not be opened.
acdbCustomOsnapManager Returns a pointer to the session's AcDbCustomOsnapManager object.
acdbDetachXref This function detaches the xref in pDb whose AcDbBlockTableRecord is specified by xrefBlkId.Returns Acad::eOk if successful.
acdbDictAdd Adds a non-graphical object to the specified dictionary.Note This function can be used to set an owner for an object created with acdbEntMakeX() (which is often desirable because objects and entities without owners are not written out to DWG or DXF file).If acdbDictAdd() succeeds, it returns RTNORM. If dictname fails, it returns RTERROR. If acdbDictAdd() fails, it sets the system variable ERRNO to a value that indicates the reason for the failure.Error conditions include the following:
  • The object specified by newobj does not correspond to a valid non-graphical object
  • The input dictionary key is already... more
acdbDictNext Advances the program pointer to the next entry in the specified dictionary and returns a pointer to the entry as a linked list of result buffers with DXF group codes and values. This function is similar to acdbTblSearch(). A dictionary is a container object that is functionally similar to symbol tables. An optional DXF sequence stores the current object's dictionary handle so that arbitrary drawing database objects can be attached to any object in a drawing.Warning Only one global iterator is maintained for this function. If the program passes a new dictionary name to acdbDictNext() after traversal of... more
acdbDictRemove Removes the specified dictionary entry from the specified dictionary .If acdbDictRemove() succeeds, it returns RTNORM. If dictname is invalid or symname is not found, it returns RTERROR and sets the system variable ERRNO to a value that indicates the reason for the failure.
acdbDictRename Renames a dictionary entry's key name.If acdbDictRename() succeeds, it returns RTNORM. If the old name is not present in the dictionary, the dictname is invalid, the new name is invalid, or the new name is already present in the dictionary, it returns RTERROR and sets the system variable ERRNO to a value that indicates the reason for the failure.
acdbDictSearch Scans the specified dictionary for an entry and returns it as a result-buffer list. This function is similar to acdbTblSearch().To obtain the entity name of symbol table entry, call acdbTblObjName().To obtain the master entity name, call acdbNamedObjDict().Returned DXF CodesIf acdbDictSearch() finds the entry, it returns it as a linked list of result buffers with DXF group codes and values. If it does not find the entry, it returns NULL. It cannot find dictionary entries that have been deleted.See information on DXF group codes in the AutoCAD Customization Guide for the identification... more
acdbDisplayPreviewFromDwg This function obtains the preview image (if any) of the drawing specified by pszDwgfilename and displays it in the window identified by the HWND argument pPreviewWnd.The image size varies up to a maximum size no larger than 256 x 188 pixels. If the pPreviewWnd window is larger than the image, then the image will be stretched to fit. But, if the window is smaller than the image, the image will not be adjusted and will spill out beyond the window's borders.If it is non-null, pBgColor must be a long that represents an RGB color. The format for... more
acdbDisToF Converts a string that displays a real (double-precision floating-point) value expressed in the specified display format into a real value.The unit value should correspond to values allowed for the AutoCAD system variable LUNITS, as shown in the following table.Linear units values:
acdbDoSetupForLayouts This function sets the layout manager to work on the database pointed to by pDatabase, even if this database is not loaded in the AutoCAD editor.When you are done, you must use acdbClearSetupForLayouts(), passing it the contextHandle returned by this function. This action resets the layout manager to work with the document/database it was using before the call to acdbDoSetupForLayouts().acdbDoSetupForLayouts() calls cannot be nested. acdbClearSetupForLayouts() must be called before another call to acdbDoSetupForLayouts() can be made.Returns Acad::eOk if successful. Returns Acad::eInvalidInput if pDatabase is null.
acdbDwkFileExists This function checks for the presence of a drawing lock (DWK) file in the directory where pszFileName resides. pszFileName can be any file name with any extension. Before searching, this function appends a .dwk extension to pszFilename if it has no file name extension, or else replaces the given extension with .dwk.
acdbDxfOutAs2000 This functions saves the AcDbDatabase object pointed to by pDb to a DXF file whose name is fileName. The file is saved in AutoCAD 2000 format using the precision specified by precision.Note The precision may also be set to -1 to change the output format from the default ASCII DXF format to the binary DXF format.Returns Acad::eOk if successful.If the AcDbDatabase object pointed to by pDb is in a partial open state, or if fileName is NULL, then the save fails, and Acad::eInvalidInput is returned.
acdbDxfOutAs2004 This functions saves the AcDbDatabase object pointed to by pDb to a DXF file whose name is fileName. The file is saved in AutoCAD 2004 format using the precision specified by precision.Note The precision may also be set to -1 to change the output format from the default ASCII DXF format to the binary DXF format.Returns Acad::eOk if successful.If the AcDbDatabase object pointed to by pDb is in a partial open state, or if fileName is NULL, then the save fails, and Acad::eInvalidInput is returned.
acdbDxfOutAsR12 This function writes out a drawing database in the DXF file format corresponding to AutoCAD Release 12.
acdbEcs2Ucs This function translates the point p from the OCS (formerly ECS) coordinates of the coordinate system determined by norm into UCS coordinates. q is filled in with the translated value. If vec is Adesk::kTrue, then p is treated as a vector for translation rather than a point.Returns true if successful; otherwise, returns false.
acdbEcs2Wcs This function translates the point p from the OCS (formerly ECS) coordinates of the coordinate system determined by norm into WCS coordinates. q is filled in with the translated value. If vec is Adesk::kTrue, then p is treated as a vector for translation rather than a point.Returns Adesk::kTrue if successful; otherwise, returns Adesk::kFalse.
acdbEndDrawStreamBuilding Ends the relationship between the AcGiDrawStream object and the entity object it is associated with.The acdbBeginDrawStreamBuilding function is used to create a relationship between a AcGiDrawStream object with an entity object.
acdbEntDel Deletes the specified entity if it is currently in the drawing and undeletes it (restores it to the drawing) if it was deleted during the current editing session.Note AutoCAD purges deleted entities when it leaves the drawing. Therefore acdbEntDel() can restore entities only during the same editing session in which they were deleted.If the entity is visible in the current graphics screen, its image is erased or restored, according to the result of the acdbEntDel() call.Attributes and polyline vertices cannot be deleted independently from their parent entities; acdbEntDel() operates only on main entities. If you need to... more
acdbEntGet Retrieves the specified entity from the drawing database and returns its definition data as a linked list of result buffers. This function is used also to examine dictionaries.The restype field of each item in the list is assigned an AutoCAD DXF group code. The first item will have a restype of -1, indicating that it contains the entity name in resval.rlname.As with DXF, acdbEntGet() returns entity header items (the color, linetype, thickness, attributes-follow flag, and entity handle) only if their value differs from the default. Unlike DXF, acdbEntGet() returns the optional entity definition fields, whether or not... more
acdbEntGetX Retrieves the entity specified by ent from the drawing database including extended entity data that is registered to the application, and returns its definition data as a linked list of result buffers.If args is a null pointer, acdbEntGetX() is equivalent to acdbEntGet() and returns only the regular definition data in exactly the same fashion. If the args list is not null, acdbEntGetX() returns the extended entity data for each valid application name in the list. (This saves the application from having to look at or manage the space of extended entity data belonging to other applications.) To be valid,... more
acdbEntLast Gets the name of the last (nondeleted) main entity in the drawing database. The last entity is selected even if it is not on screen or is on a frozen layer, but a nongraphical object cannot be selected. The last entity is the most recently created entity, so acdbEntLast() can be used to obtain the name of an entity that has just been added by a call to acedCommand(), acedCmd(), or acdbEntMake() (a complex entity does not appear in the database until it is complete).If acdbEntLast() succeeds, it returns RTNORM; otherwise, it returns RTERROR. When... more
acdbEntMake Makes a new entity, which can be an empty dictionary, by appending the entity specified by ent to the drawing database. The ent argument is a linked list of result buffers that should have the same format as a list returned by acdbEntGet().With this function, an ObjectARX application expands the entity list by creating new entities and adding them to the drawing.The list that ent specifies has the following restrictions:
  • Cannot specify the entity's handle (DXF groups 5 and 105).
  • Ignores fields associated with the object extension dictionary.
  • The first or second buffer in the list must... more
acdbEntMakeX Makes a new object or entity (such as an empty dictionary, an xrecord, a circle, and so on), gives it a handle and entity name, but does not give it an owner (unlike acdbEntMake(), which provides an owner as well).Warning Objects and entities without owners are not written out to DWG or DXF files. Be sure to set an owner at some point after using acdbEntMakeX(). For example, you can use acdbDictAdd() to set a dictionary to own an object.If acdbEntMakeX() succeeds, it returns RTNORM; if it cannot update the database, it returns RTREJ.... more
acdbEntMod Updates the definition data of the specified entity. The entity that acdbEntMod() modifies is specified by the result buffer that contains the entity's name (restype == -1); this should be the first result buffer in ent.Note As of R13c4, acdbEntMod() can change the contents of a dictionary entry, as well as the associated xdata and persistent reactors.This function complements acdbEntGet() by retrieving an entity with acdbEntGet(), modifying its entity list, and then passing the list back to the database with acdbEntMod(). This is the primary mechanism by which an ARX application updates the... more
acdbEntNext Gets the name of the entity following the specified entity in the drawing database.The acdbEntNext() function can be used with acedSSGet(), which selects only main entities. To access the internal structure of a main entity, find the main entity by calling acedSSGet(), and then "walk through" the subentities with calls to acdbEntNext(). Conversely, to find the main entry for a subentity that you have already found, walk forward with acdbEntNext() until you find the seqend subentity, and use acdbEntGet() to access it. The seqend subentity will have a group (restype == -2) that specifies... more
acdbEntUpd Updates the screen image of the specified entity. It redraws the entire entity; for complex entities, this includes subentities such as polyline vertices or block attributes. If ent specifies a subentity, acdbEntUpd() finds the head before it does the redraw.This function is intended for use with complex entities, but it can be called to redraw any graphical entity in the current drawing database. Do not pass nongraphical objects, such as a symbol table, to acdbEntUpd().Warning If ent is in a block definition, then acdbEntUpd() is not sufficient. You must regenerate the drawing by invoking the AutoCAD REGEN... more
acdbFail Displays an error message that includes the name of the application and the argument. This function simply displays the message and returns control to the caller. Use it when a recoverable error is encountered. Note that acdbFail() does not signal an error to AutoLISP or to the function calling the ARX application. It just displays an error message.
acdbFindField This function can be used to extract the embedded fields in text. It can be called in a loop to extract all the fields in the text.Returns true if a field is found; otherwise, returns false.
acdbForceTextAdjust Normally when a text entity is closed, the text's position and alignment points are adjusted according to the text's justification settings and the text style. However, if the text entity is embedded in a database that is not the current database, this automatic adjustment does not take place. This method forces text to be adjusted on text entities that reside in non-current databases. This method supports objects of types AcDbText, AcDbBlockReference, and AcDbBlockTableRecord.Returns Acad::eOk if successful.
acdbFree Used in place of free() to deallocate memory originally allocated from the AcDbObject memory heap. Any memory allocated via acdbAlloc() should be deallocated using this function.Since these are overridden at the AcDbObject level, the preferred method is to use new and delete, so when they are used within member functions of any class derived (either directly or indirectly) from AcDbObject, the correct memory heap will be used.
acdbGetAdsName This function fills in objName with the ads_name that corresponds to the objId object ID.Returns Acad::eOk if successful. If objId is 0, then Acad::eNullObjectId is returned.
acdbGetArcLengthSymbolPlacement For internal use only.
acdbGetCurrentDgnDocHost Gets the current DGN underlay host that uses the current document for OLE entities.
acdbGetCurrentDgnHost Reserved for future use.
acdbGetCurrentDwfHost Returns the current DWF underlay host.
acdbGetCurrentPdfHost Gets the current PDF underlay host
acdbGetCurUserViewportId This function returns the object ID of the AcDbViewport that was current before any draw methods are called on any entity in the database. The entity draw methods can manipulate what is the current viewport.
acdbGetCurVportId This function returns the object ID of the AcDbViewport that was current when the drawing was last saved.Returns AcDbObjectId::kNull if pDb is NULL, or if the space that was current when the drawing was last saved contains no AcDbViewports, or if tilemode was set to 1 when the drawing was last saved.
acdbGetCurVportTableRecordId This function returns the object ID of the currently active viewport table record in the given database. It returns AcDbObjectId::kNull on error, or if pDb is not in titlemode.
acdbGetDimAssocId Gets the AcDbDimAssoc object ID from the given dimension.Returns Acad::eOk if true.
acdbGetDimAssocIds Gets the AcDbDimAssoc object IDs from the geometry in the AcDbPointRef object.Returns Acad::eOk if true.
acdbGetDimBreakSize For internal use only.
acdbGetDimExt1Linetype For internal use only.
acdbGetDimExt2Linetype For internal use only.
acdbGetDimExtensionLength For internal use only.
acdbGetDimFlipArrow For internal use only.
acdbGetDimFlipArrowWhich For internal use only.
acdbGetDimJogSymbolSize This global function is intended for internal use although it is available in acdb17.dll.Returns true if successful. Otherwise, it returns false.
acdbGetDimLineLinetype For internal use only.
acdbGetDimStyleId Returns the object ID for the specified dimension style, if the dimension style doesn't exist it is created.
acdbGetDimTextBackground For internal use only.
acdbGetDimTolAlign This global function is intended for internal use although it is available in acdb17.dll.Returns true if successful. Otherwise, it returns false.
acdbGetDynDimStyleId This function returns the object ID of the DYNDIM dynamic dimension style from the current drawing database. DYNDIM is the base style for all dynamic dimensions. If the DYNDIM style does not already exist in the current drawing, this function creates it and copies its properties from the default Standard dimension style. If the DYNDIM style already exists in the current drawing database, but was erased, this function unerases its entry in the DIMSTYLE table and returns its object ID.Applications typically use the object ID obtained from this function to access dynamic dimension style settings.Note: The DYNDIM DIMSTYLE... more
acdbGetExemptCheckFlag This global function allows application to get the integer value of bitFlags. The bitFlags specifies bits to control CAD Standards to skip pObj for standard checking.bitFlags = 0x00: No exemption.bitFlags = 0x01: Exempt from CAD Standards check.bitFlags = 0x02: For future use.Returns true if successful. Otherwise, it returns false.
acdbGetExtnames This function returns the bool value of the specified database's EXTNAMES system variable. Returns Acad::eOk if successful. If pDb is NULL, Acad::eInvalidInput is returned.In a future release, this function may be removed along with support for the EXTNAMES system variable.
acdbGetFieldEngine Returns the pointer to the field engine. There is only one field engine object per session.
acdbGetFieldMarkers Returns true if successful, or false if the function fails.
acdbGetFixedLengthExtLineEnabled For internal use only.
acdbGetGeoDataObjId Returns the objectId of AcDbGeoData.
acdbGetHomeView Returns Acad::eOk if there is HomeView data in database; otherwise it may return Acad::eKeyNotFound, which means there is no HomeView data in database, and the hard-coded default HomeView is returned.
acdbGetHostDwgXrefGraph This function fills in graph with a completed graph of xrefs in the database pointed to by pHostDb.Ghost references appear when there are unresolved xrefs in a drawing. Ghosts are the unresolved xref's last known outgoing references (that is, its nested xrefs.) To determine outgoing references of a node, see the AcDbGraphNode::numOut() and AcDbGraphNode::out() methods.There is no distinction between ghost references and non-ghost references in the graph. However, any outgoing edge of a node whose status is not AcDb::kResolved is a ghost reference. Use the AcDbXrefGraphNode::xrefStatus() function to query a node's status.Returns Acad::eOk if successful.
acdbGetLargeRadDimJogAngle For internal use only.
acdbGetManagedHost Returns a pointer to the AcDbManagedHost.
acdbGetMappedFontName Maps the font that will be used given a font name.Returns a mapped (substitute) font name or NULL if there is no substitution.
acdbGetModelerDwgVer This function allows implementers of custom objects derived from AcDb3dSolid, AcDbRegion, or AcDbBody to specify the ACIS/ShapeManager version of the data to be saved to a DWG or DXF file.
acdbGetObjectId This function fills in objId with the object ID that corresponds to the objNameads_name.Returns Acad::eOk if successful. If objName is invalid, then Acad::eInvalidAdsName is returned.
acdbGetPreviewBitmapFromDwg This function returns the preview bitmap from a DWG file.The following sample shows how to use this function:
acdbGetProxyInfo Returns the proxy's DXF, class, and application names in the appropriate arguments.
acdbGetReservedString This function returns the reserved string of type reservedType. If bGetLocalized is true, the returned string is localized.When bGetLocalized is false, this function returns the internal string representation.For example, if reservedType is AcDb::kByBlock and bGetLocalized is false, the string "ByBlock" is returned.The function returns NULL if no string is found.
acdbGetShowCompass Determines if the view cube compass is shown in specified database.Returns Acad::eOk if successful.
acdbGetSummaryInfo The Summary Info database member data is initialized to the input database. Use pInfo to get or set individual Summary Info values and call acdbPutSummaryInfo() when changes are complete to update the summary info data in its persistent data format in the database.The caller is responsible for deleting the pInfo object when they're finished using it.This function returns Acad::eOk if successful.
acdbGetThumbnailBitmapFromDxfFile This function retrieves the preview bitmap from the OpenDXF file.
acdbGetUnitsConversion Obtains the double value that represents the difference in scale between two AcDb::UnitsValue enumerations.For example, if from is AcDb::kUnitsInches and to is AcDb::kMillimeters, the conversion factor returned is 25.4.Returns eOk if successful. Returns eInvalidInput if either of the UnitsValue enums is invalid.
acdbGetViewportVisualStyle Returns the visual style of the current viewport.
acdbGlobalFieldEvaluationOption Gets the global field evaluation option value.
acdbHandEnt Finds the entity with the specified handle.An entity's name changes whenever AutoCAD opens the drawing, but the entity's handle is constant throughout its life. An ARX application that manipulates a specific database can use acdbHandEnt() to obtain the current name of an entity that the application must manipulate. Once the name is obtained, the entity can be handled by using the other entity functions.The acdbHandEnt() function will find entities deleted during the current editing session. Another use of this function is to find such entities and undelete them, if necessary, with the acdbEntDel() function.If acdbHandEnt() succeeds, it... more
acdbHasFields Returns true if the text has one or more fields embedded in it. Returns false if it does not have a field.
acdbHostApplicationServices Use this function to access the services. acdbHostApplicationServices() may be called by database code, by object component applications, and by RealDWG host applications.
acdbInitialize Explicit init/term functions for AcDb. On Windows dynamic libraries have a 2 phase init that acdb has grown to rely on:
  1. lobal constructors are called.
  2. DllMain is called.
On the Mac there's no DllMain so clients must call these functions to properly init/term acdb. Most clients won't have to explicity call these functions because we implicity call acdbInitialize when acdbSetHostApplicationServices and acdbValidateSetup are called. Multiple calls to these functions are OK. Calls after the first are ignored.
acdbInitializeManagedLayer Initializes the managed layer.
acdbInters Examines two lines and returns the point where they intersect.All four point arguments are three-dimensional points; acdbInters() checks for intersection in 3D space. All points should be expressed in terms of the same coordinate system. Otherwise, acdbInters() will return garbage (it calculates a result but does not check the input values against the current drawing).If acdbInters() finds an intersection point, it returns RTNORM; otherwise, it returns an error code.
acdbIsCustomObject Returns Adesk::kTrue if id is the objectId of an object of a custom class (that is, not a class built into AutoCAD). Otherwise, it returns Adesk::kFalse.
acdbIsDgnToDwgInProgress This function returns true when it is called while a DGN to DWG file translation is in progress.
acdbIsEnabledTightExtents Used to determine if the tight extents calculations are enabled for AcDb3dSolid, AcDbSurface, and AcDbRegion entities.
acdbIsGsWorkerThread This function returns true if the current thread is the GS tessellation worker thread.
acdbIsInLongTransaction Returns true if this object is in a long transaction.
acdbIsManagedExtensionLoaded Determines whether the managed application (DLL) file is loaded.
acdbIsModelerStarted This function returns Adesk::kTrue if the modeler DLLs are currently loaded in the host process's memory space. Otherwise, it returns Adesk::kFalse.
acdbIsReservedString This function returns true if strString is a localized or English version of the reserved string specified by reservedType. Otherwise, it returns false. strString is not case sensitive.
acdbIsTransSpatial Returns true if the given path is a trans-spatial path.
acdbLoadLineTypeFile This function loads the linetype specified by ltname from the file specified by fname and stores it in the database specified by pDb. If pDb is NULL, then the database currently loaded in the AutoCAD editor is used.The ltname parameter may contain wild card characters (see acutWcMatch() for more information on wild card usage). If wild cards are used, multiple linetypes may be loaded.If fname is not a URL and does not contain a path, then the AutoCAD library search path will be searched for the file.Returns Acad::eOk if successful.Returns Acad::eNullObjectPointer if ltname or... more
acdbLoadMlineStyleFile This function loads the MlineStyle specified by sname from the file specified by fname. If fname is not a URL and does not contain any path information, then the AutoCAD library search path will be searched for the file.sname cannot contain wild cards.Returns Acad::eOk if the MlineStyle is successfully loaded.Returns Acad::eNullObjectPointer if sname or fname is NULL.Returns Acad::eFileAccessErr if the specified file cannot be opened.Returns an appropriate Internet-specific Acad::ErrorStatus value if a URL is specified and the transfer is not successful.
acdbModelerEnd This function decrements the reference counter that was incremented by a previous call to acdbModelerStart(). If the reference count is zero after the decrement, then the modeler DLLs are unloaded from memory.
acdbModelerRestoreEntitiesFromDwgFiler Restore a single entity from the DWG filer and return in pEntity. The modeler version of restored entities is Optionally returned in pModelerVersion. Pass an appropriate value for restoreOptions to control restore behavior.
acdbModelerSaveEntitiesToDwgFiler Save the array of entities to the DWG filer. The filed modeler version is dependent on modelerVersion as follows:
  • < 0 - Deduce from the filer's drawing version (default, -1)
  • 0 - Current version of the modeler
  • > 0 - A valid modeler version such as 2170, corresponding to 217.0
acdbModelerSaveEntitiesToDxfFiler Save the array of entities to the DXF filer. The filed modeler version is dependent on modelerVersion as follows:
  • < 0 - Deduce from the filer's drawing version (default, -1)
  • 0 - Current version of the modeler
  • > 0 - A valid modeler version such as 2170, corresponding to 217.0
acdbModelerSaveEntityToDwgFiler Save the entity to DWG filer. The filed modeler version is dependent on modelerVersion as follows:
  • < 0 - Deduce from the filer's drawing version (default, -1)
  • 0 - Current version of the modeler
  • > 0 - A valid modeler version such as 2170, corresponding to 217.0
acdbModelerSaveEntityToDxfFilerSave the entity to DXF filer. The filed modeler version is dependent on modelerVersion as follows:
  • < 0 - Deduce from the filer's drawing version (default, -1)
  • 0 - Current version of the modeler
  • > 0 - A valid modeler version such as 2170, corresponding to 217.0
acdbModelerStart This function increments a reference counter and loads the modeler DLLs into the host process memory space if they are not already loaded.The acdbModelerEnd() function should be called to decrement the reference counter when the modeler DLLs are no longer needed.
acdbModifyPointCloudDataView Modifies the point cloud data view.This function allows a filter to be inserted into the display pipeline of point cloud objects. This filter can be used to inspect and modify the point set before it is displayed.If the entity is already in a database, this will cause a redisplay with the modified point set.It is the application's responsibility to remove any filters added by acdbResetPointCloudDataView().AcDbPointCloudObj.dbx must be loaded before this function is used.
acdbNamedObjDict Returns the name of the named object dictionary, which is the root of all nongraphical objects in the current drawing.Using this name with acdbDictSearch() and acdbDictNext(), a program can access nongraphical objects.
acdbOleGetOriginalSelectedFontName For internal use only.
acdbOleGetOriginalSelectedFontPointSize For internal use only.
acdbOleGetOriginalSelectedTextSizeInAcadUnits For internal use only.
acdbOleGetOriginalWidthHeight For internal use only.
acdbOleGetRotationMatrix For internal use only.
acdbOleGetSelectedFontName For internal use only.
acdbOleGetSelectedFontPointSize For internal use only.
acdbOleGetSelectedTextSizeInAcadUnits For internal use only.
acdbOleHitTest For internal use only.
acdbOleSetOriginalSelectedFontName For internal use only.
acdbOleSetOriginalSelectedFontPointSize For internal use only.
acdbOleSetOriginalSelectedTextSizeInAcadUnits For internal use only.
acdbOleSetOriginalWidthHeight For internal use only.
acdbOleSetSelectedFontName For internal use only.
acdbOleSetSelectedFontPointSize For internal use only.
acdbOleSetSelectedTextSizeInAcadUnits For internal use only.
acdbOpenAcDbEntity This function provides a means to open database-resident objects that are derived from AcDbEntity (that is, have graphics). The function is passed in an empty pointer, pEnt. id is the object ID of the object to open. mode is the mode to open in. openErasedEntity is a Boolean indicating whether or not to open the object if it's erased.The mode argument may be one of the following:AcDb::kForReadAcDb::kForWriteAcDb::kForNotifyIf the open attempt is successful, then pEnt will be set to the address of the object and Acad::eOk will be returned.If openErasedEntity is false, then... more
acdbOpenAcDbObject This function provides a means to open database-resident objects.pObj is passed in as an empty pointer.The mode argument may be one of the following: AcDb::kForRead, AcDb::kForWrite, or AcDb::kForNotify.If the open attempt is successful, then pObj will be set to the address of the object and Acad::eOk will be returned.If openErasedObject is false, then attempting to open an erased object will fail and this function will return Acad::eWasErased.If attempting to open AcDb::kForRead and the object is already opened for read the maximum of 256 times, then the open attempt will fail... more
acdbOriginalXrefFullPathFor This function returns the full path of the original .dwg file for the Xref database whose pointer is passed in. The word "original" is used because if the System Variable XLOADCTL is set to 2, AutoCAD creates a temporary copy of the original file and loads that. If a temporary copy is in use, then this function will still return the path and filename of the original file rather than that of the copy.If the database pointer passed in points to a database that is not an Xref, then this function will return NULL.
acdbOverlayXref Overlays the xref file specified by pFilename to the database specified by pDb, thus creating a new xref AcDbBlockTableRecord. The new block table record's name is specified in pBlockName. Its object ID is returned in xrefBlkId.This function does not lock the document, nor does it create an AcDbBlockReference instance of the new block table record.Xref log file processing is available if that option is enabled. Normal AutoCAD behavior with regard to output indicators, such as progress meters and messages, may be unavailable if scripts are enabled and cmdecho is 0, if menu macros are... more
acdbPostDimAssoc This functions posts the pDimAssoc object to the database. It uses the extension dictionary of the provided dimension.Returns Acad::eOk if successful.
acdbProcessPointCloudData Selects a set of points within the point cloud entity.This function does not modify the points or affect the display of the given entity.The points within the given extents will be passed to the callback for processing. Points will be extracted from the point cloud engine with the selected level of detail (the POINTCLOUDDENSITY sysvar is not honored), and the processPoints() function in the callback will be called repeatedly as the buffer is filled up until all points have been processed.The buffer will be sized so that no unreasonable memory pressure is put on the system.Note... more
acdbProcessPointCloudData Selects a set of points within the point cloud entity.This function does not modify the points or affect the display of the given entity.The points within the given extents will be passed to the callback for processing. Points will be extracted from the point cloud engine with the selected level of detail (the POINTCLOUDDENSITY sysvar is not honored), and the processPoints() function in the callback will be called repeatedly as the buffer is filled up until all the points that have been processed.The buffer will be sized so that no unreasonable memory pressure is put on the... more
acdbQueueAnnotationEntitiesForRegen Queues an entity in model space for regen if it is:
  1. annotative;
  2. a block reference with some nested annotative entity; or
  3. an attribute on an annotative block reference
Returns Acad::eOk if the operation completed successfully.
acdbQueueForRegen Returns the number of object IDs that were queued successfully for regen. The object IDs are expected to represent entities in the current host database. This function queues up these entities for regeneration. IDs which do not represent entities, are not in the current database, or are excluded from a partial open will not be placed in the queue.Queued entities are regenerated in all viewports, including 3D GS viewports.
acdbRawAngToF Identical to acdbAngToF(), except that the input angle is not reduced to the range (-360,360).
acdbRawAngToS Deprecated. Identical to acdbAngToS(), except that the input angle is not reduced to the range (-360,360).
acdbRawAngToS Identical to acdbAngToS(), except that the input angle is not reduced to the range (-360,360).
acdbRawAngToS Deprecated. Identical to acdbAngToS(), except that the input angle is not reduced to the range (-360,360).
acdbRealloc Takes a pointer to a memory region previously allocated from the AcDbObject memory heap by acdbAlloc(), and changes its size while preserving its contents.If p is null, the function behaves like acad_malloc(). If p is not null and size is 0, this function returns a null pointer, and the old region is deallocated.If the region's new size is smaller than the old size, some previously stored data is lost. If the region's new size exceeds the old, the old data is preserved, and new, uninitialized space is added at the end.If this function succeeds, it... more
acdbRegApp Registers the application's extended entity data.Registers an application name in the current drawing. Application names are used for grouping, storing, retrieving, and modifying extended entity data. An application can register as many names as necessary (or none at all), but the names it registers should be unique to that application.Application names must adhere to the rules for symbol table names (such as layer names).If the name has not been registered before, acdbRegApp() adds appname to the APPID symbol table of the current drawing and returns RTNORM. If appname is already in the APPID table, acdbRegApp() returns... more
acdbReleaseHostDwg In a non-AutoCAD-based host environment, this function deletes the AcDbDatabase pointed to by pHostDb and cleans up the necessary internal data that was associated with this database.In an AutoCAD-based host environment, this function does nothing.
acdbReloadXrefs This function reloads the xrefs whose AcDbBlockTableRecord ObjectIds are in xrefBlkIds. The ObjectIds in xrefBlkIds must all be from pHostDb. If pHostDb is NULL, then the database specified by AcDbHostApplicationServices::workingDatabase() will be assumed to be the host database. If bQuiet is false, then status and error messages will be sent to AcDbHostApplicationServices::DisplayString().Returns Acad::eOk if successful.
acdbRemoveAnnotationScaleReactor Removes an AcDbAnnotationScaleReactor reactor.Returns true if successful.
acdbRemoveFieldReactor Removes the field reactor from the field framework.Returns Acad::eOk if the field reactor was successfully removed. Returns Acad::eKeyNotFound if the reactor was not found.
acdbResetPointCloudDataView Clears the filter from the given entity.Any filter added to a point cloud entity needs to be removed using this function.
acdbResolveCurrentXRefs This function resolves existing xrefs in pHostDb.If useThreadEngine is true, and other factors haven't disabled it, then the multi-thread engine is used for resolving the xrefs.If doOnlyNew is true, only unresolved xref records are processed. Existing resolved xref AcDbLayerTableRecords, AcDbLinetypeTableRecords, and AcDbBlockTableRecords are ignored. In this case, the useThreadEngine argument also is ignored, and the multi-thread engine is not used.If pHostDb points to an AcDbDatabase that is the primary database for a document in AutoCAD (in other words, a database that is loaded in the AutoCAD editor), doOnlyNew should be set to true to avoid reprocessing... more
acdbResurrectMeNow If id represents a proxy object, and the application that defines the class of the object within the proxy is currently loaded, then this function resurrects the proxy by replacing it with the object it contains.Normally, resurrection occurs automatically during drawing loading or ObjectARX application loading, but this automatic resurrection occurs in database order. Thus, if there are objects with interdependencies, the object that is resurrected first can use this function to force concurrent resurrection of its interdependent objects.If the object represented by id is successfully resurrected, or if it is not a proxy when this function is... more
acdbRToS Deprecated. Formats a floating-point value as a string.The following table lists the valid values for the units argument.Linear units values:
acdbRToS Formats a floating-point value as a string.The following table lists the valid values for the units argument.Linear units values:
acdbRToS Deprecated. Formats a floating-point value as a string.The following table lists the valid values for the units argument.Linear units values:
acdbSaveAs2000 This functions saves the AcDbDatabase object pointed to by pDb to a DWG file whose name is fileName. The file is saved in AutoCAD 2000 format.Returns Acad::eOk if successful.If the AcDbDatabase object pointed to by pDb is in a partial open state, then the save fails, and Acad::eInvalidInput is returned.
acdbSaveAs2004 This functions saves the AcDbDatabase object pointed to by pDb to a DWG file whose name is fileName. The file is saved in AutoCAD 2004 format.Returns Acad::eOk if successful.If the AcDbDatabase object pointed to by pDb is in a partial open state, then the save fails, and Acad::eInvalidInput is returned.
acdbSaveAsR14 This function writes out the drawing in AutoCAD Release 14 format.
acdbSendInitialDwgFileOpenComplete A RealDWG host application can use this function to send notification to clients such as object enablers when it finishes reading the initial set of objects from pDb. This function allows the host application to supercede the functionality provided by the AcDbDatabase::readDwgFile() function. While readDwgFile() reads a drawing's basic data, a host application may implement functionality requiring that it read additional custom objects. This function allows the host application to notify others when it has finished reading.This function always returns Acad::eOk.
acdbSetArcLengthSymbolPlacement For internal use only.
acdbSetBreak3dQueueForRegen For internal use only.
acdbSetCurrentDgnDocHost Sets the current DGN underlay host that uses the current document for OLE entities. Returns the previous DGN underlay host.
acdbSetCurrentDgnHost Reserved for future use.
acdbSetCurrentDwfHost Sets the current DWF underlay host. Returns a pointer to the previous DWF underlay host.
acdbSetCurrentPdfHost Sets the current PDF underlay host.
acdbSetDefaultAcGiContext Sets the default graphics context for an application.Returns the previous default graphics context, which may be NULL.
acdbSetDimBreakSize For internal use only.
acdbSetDimExt1Linetype For internal use only.
acdbSetDimExt2Linetype For internal use only.
acdbSetDimExtensionLength For internal use only.
acdbSetDimFlipArrow For internal use only.
acdbSetDimFlipArrowWhich For internal use only.
acdbSetDimJogSymbolSize For internal use only.
acdbSetDimLineLinetype For internal use only.
acdbSetDimTextBackground For internal use only.
acdbSetDimTolAlign This global function is intended for internal use although it is available in acdb17.dll.Returns true if successful. Otherwise, it returns false.
acdbSetEnableTightExtents Used to enable the tight extents calculations before using getGeomExtents on the AcDb3dSolid, AcDbSurface, and AcDbRegion entities.
acdbSetExemptCheckFlag This global function allows application to set an integer value for bitFlags. The bitFlags specify bits to control CAD Standards to skip pObj for standard checking.bitFlags = 0x00: No exemption.bitFlags = 0x01: Exempt from CAD Standards check.bitFlags = 0x02: For future use.Returns true if successful. Otherwise, it returns false.
acdbSetExtnames This function sets the specified database's EXTNAMES system variable to value. Returns Acad::eOk if successful. If pDb is NULL, Acad::eInvalidInput is returned.In a future release, this function may disallow setting the EXTNAMES system variable to false by returning false if value == false. Additionally, a subsequent release may remove this function completely.
acdbSetFixedLengthExtLineEnabled For internal use only.
acdbSetGlobalFieldEvaluationOption Sets the global field evaluation option value.
acdbSetHomeView Sets the home view for specified database.Returns Acad::eOk if successful. Parameters
acdbSetHostApplicationServices Use this function to set your instance of services. This should be done as an early step in your application, for example, in the InitInstance() method of your application. A RealDWG host application should call this method only once.
acdbSetLargeRadDimJogAngle For internal use only.
acdbSetManagedHost Sets a pointer to the AcDbManagedHost.Returns Acad::Ok if successful.
acdbSetPointCloudFilter Set a filter into point cloud engine of the given entity. The filter works during engine reading points from data file.
acdbSetReferenced This function is used to prevent the automatic purging of anonymous blocks which are created while a drawing is being loaded (that is, created during AcEditorReactor::dwgFileOpened() notification) and there is no AcDbBlockReference object set to reference them. The problem is that purging of anonymous blocks occurs after the AcEditorReactor::dwgFileOpened() notification, so such blocks will be purged since they are unreferenced.To prevent purging of anonymous blocks created at AcEditorReactor::dwgFileOpened() notification time, there are two alternatives:
  1. The preferred method is to create AcDbBlockReferences that reference the anonymous block definitions. This then sets up an actual reference that prevents purging in... more
acdbSetShowCompass Sets if the view cube compass is shown in specified database.Returns Acad::eOk if successful.
acdbSetViewportVisualStyle Use this function to set the visual style of the current viewport.
acdbSNValid Tests a symbol table name for validity, including symbol table names with out-of-code-page escape sequences.For applications that read a symbol table name from the keyboard, set pipetest to FALSE , because other functions would not accept a name containing the | character.A symbol table name is valid if it is non-null and contains only characters allowed in filenames except the comma, semicolon, accent grave, and equals sign, which are also not allowed.
acdbSummaryInfoManager This function returns a pointer to global instance of the Summary Info Manager. You use the Summary Info Manager to add and delete reactors for SummaryInfoHasChanged notification.To use this function in a non-AutoCAD host application, you must first call initAcDbSummaryInfoManager() in your initialization code. This will allow you to set and then use acdbSummaryInfoManager(). And in your application shut-down code, you must call deleteAcDbSummaryInfoManager().
acdbSymUtil This function returns a pointer to the AcDbSymUtilServices object that you dereference in order to invoke the member functions. It never returns NULL. AcDbSymUtilServices is a typedef to abbreviate the longer name AcDbSymbolUtilities::Services().
acdbSystemRangeToCanonical This function converts the system range value represented by strIn to a canonical value. strIn should be expressed in the units specified by eUnits This function returns the converted value expressed as a string in strOut. See AcDbDynBlockReferenceProperty::UnitsType for possible values of eUnits. Returns true if successful, or if strIn is an empty string.
acdbTblNext Scans the specified symbol table and returns either the next entry or the first entry as a result-buffer list.acdbTblNext() returns information consistent with AutoCAD Release 12 identification format. It does not return the complete symbol table entry, expanded in Release 13 to include the object name, xdata, and persistent reactors attached to the symbol table.The identification format for symbol table entries returned by these functions consists of a group with a 0 code that contains the name of the table and a group with a 2 code that contains the entry name in the table. These types of... more
acdbTblObjName Returns an entity identifier for passing to acdbEntGet() or acdbEntMod() to locate the actual entity.
acdbTblSearch Scans the specified symbol table for the specified entry. To obtain the entity name of the symbol table entry, call the acdbTblObjName() function. The tblname argument is the name of one of the read-access symbol tables in the current drawing. The valid values for tblname are LAYER, LTYPE, VIEW, STYLE, BLOCK, UCS, DIMSTYLE, VPORT, and APPID. Returned DXF Codes If acdbTblSearch() finds sym, it returns the entry as a linked list of result buffers with DXF group codes and values. If it does not find sym, acdbTblSearch() returns NULL... more
acdbTerminate Explicit init/term functions for AcDb. On Windows dynamic libraries have a 2 phase init that acdb has grown to rely on:
  1. lobal constructors are called.
  2. DllMain is called.
On the Mac there's no DllMain so clients must call these functions to properly init/term acdb. Most clients won't have to explicity call these functions because we implicity call acdbInitialize when acdbSetHostApplicationServices and acdbValidateSetup are called. Multiple calls to these functions are OK. Calls after the first are ignored.
acdbTerminateManagedLayer Terminates the managed layer.
acdbTextFind This function searches the set of entities for text that matches findString . If a match is found, the object ID of the entity is added to the resultSet array. Wildcards are not supported.If selSet is not 0, it is used as the starting set of entities to search. Otherwise, the entities in the database specified by pDatabase are used. The entities in the starting set are filtered based on the criteria specified by the searchOptions flags.If replaceString is NULL, no replacement occurs.searchOptions may be a bitwise combination of any of the following values:
acdbTransactionManagerPtr This function returns the AcDbTransactionManager object for the current document.
acdbTriggerAcadOctTreeReclassification For internal use only.
acdbUcs2Ecs This function translates the point p from UCS coordinates into the OCS (formerly ECS) coordinates of the coordinate system determined by norm. q is filled in with the translated value. If vec is true, then p is treated as a vector for translation rather than as a point.Returns true if successful and false if not.
acdbUcs2Wcs This function translates the point p from UCS coordinates into WCS coordinates and fills q in with the translated value. If vec is true, then p is treated as a vector for translation rather than as a point.Returns true if successful and false if not.
acdbUcsMatrix This function fills in mat with values such that it can be used as a transformation matrix to go from the UCS coordinates currently used in pDb, to WCS coordinates.Returns true if successful and false if not.
acdbUnloadXrefs Unloads the xrefs whose AcDbBlockTableRecord ObjectIds are in xrefBlkIds. The ObjectIds in xrefBlkIds must all be from pHostDb. If pHostDb is NULL, then the database specified by AcDbHostApplicationServices::workingDatabase() will be assumed to be the host database. If bQuiet is false, then status and error messages will be sent to AcDbHostApplicationServices::DisplayString(). Returns Acad::eOk if the operation is successful.
acdbUpdateDimension This function performs a forced update for the given associative dimension.Returns Acad::eOk if successful.
acdbValidateDbConsistency Verifies that an object and an objectId belong to the same database, and that no cross database references exist. For database resident objects the database of the objectId will be compared with the object's database. For non database resident objects the objects intended database will be used. If the object has no intended database, it will be set by this function.
acdbValidateDbConsistency Verifies that an object does not have cross database references. For database resident objects the database will be compared with the object's database. For non database resident objects the object's intended database will be used. If the object has no intended database, it will be set by this function.
acdbValidateSetup This function must be called early in execution of an RealDWG application. It validates that the application has provided everything that AcDb requires and it does some further setup. There is a contract that RealDWG applications must call acdbValidateSetup() before using AcDb APIs.The following requirements must be met in order for this function to succeed:
  • A valid host application must be registered so that acdbHostApplicationServices() does not return null. If acdbHostApplicationServices::findFile() returns null, then this function fails and returns Acad::eNullObjectPointer.
  • The acdb17???res.dll file for the language specified by lcid must be available.
The ??? in the acdb17???res.dll file... more
acdbValKeyThis function checks lname to make sure that it is a valid ads_name.Returns Acad::eOk if lname is valid; otherwise it returns Acad::eInvalidAdsName.
acdbWcs2Ecs This function translates the point p from WCS coordinates to the OCS (formerly ECS) coordinates of the coordinate system determined by norm. q is filled in with the translated value. If vec is true, then p is treated as a vector for translation rather than a point.Returns true if successful and false if not.
acdbWcs2Ucs This function translates the point p from WCS coordinates into UCS coordinates and fills q in with the translated value. If vec is true, then p is treated as a vector for translation rather than as a point.Returns true if successful and false if not.
acdbXBindXrefs This function binds the xref symbolTable records whose ObjectIds are in xrefSymbolIds. If bInsertBind is true, then the symbolTable record names will be changed from the xref naming convention to normal insert symbolTable record names.The ObjectIds in xrefSymbolIds must all be from pHostDb and they must all be from resolved xrefs. If pHostDb is NULL, then the database specified by AcDbHostApplicationServices::workingDatabase() will be assumed to be the host database. If bQuiet is false, then status and error messages will be sent to AcDbHostApplicationServices::DisplayString().xrefSymbolIds may contain ObjectIds for the following symbol table record... more
acdbXdRoom Returns the amount of extended data space that is available for an entity.The result depends on the amount of extended data already allocated to the entity by prior calls to acdbEntMod() or acdbEntMake() (possibly from applications other than the current one).Because there is a limit (currently, 16 kilobytes) on the amount of extended data that can be assigned to an entity, and because multiple applications can append extended data to the same entity, this function is provided so that an application can verify that there is room to append the extended data. It can be called in conjunction... more
acdbXdSize Returns the size that a list occupies when it is linked to an entity as extended data.Because there is a limit (currently, 16 Kb) on the amount of extended data that can be assigned to an entity, and because multiple applications may append extended data to the same entity, this function is provided so that an application can verify that there is room for the extended data. It can be called with acdbXdRoom(), which returns the amount of extended data space still available to an entity.The acdbXdSize() function can be slow, so it is best to call... more
acdbXlateReservedString This function returns a translated reserved string. If bGetLocalized is true, strSource is assumed to be the internal string, and the localized version is returned. Otherwise, strSource is assumed to be localized, and the internal string is returned. When using an English locale, the localized string returned will be the English version of the reserved string. This function is not meant to be used as a conversion between the English and localized string, but rather as a conversion between the internal and localized string.strSource is not case sensitive.The function returns NULL on failure.
dimadec Returns the current DIMADEC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMADEC.
dimalt Returns the current DIMALT value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMALT.
dimaltd Returns the current DIMALTD value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTD.
dimaltf Returns the current DIMALTF value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTF.
dimaltrnd Returns the current DIMALTRND value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTRND.
dimalttd Returns the current DIMALTTD value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTTD.
dimalttz Returns the current DIMALTTZ value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTTZ.
dimaltu Returns the current DIMALTU value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTU.
dimaltz Returns the current DIMALTZ value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTZ.
dimapost This function returns a pointer to the character string that is the current DIMAPOST value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMAPOST.
dimarcsym Returns the arc length placement value.
dimasz Returns the current DIMASZ value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMASZ..
dimatfit Returns the current DIMATFIT value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMATFIT.
dimaunit Returns the current DIMAUNIT value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMAUNIT.
dimazin Returns the current DIMAZIN value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMAZIN.
dimblk This function returns the object ID of the block reference specified by the current DIMBLK value for the database.See the System Variables section of the AutoCAD Command Reference manual for information on DIMBLK.
dimblk1 This function returns the object ID of the block reference specified by the current DIMBLK1 value for the database.See the System Variables section of the AutoCAD Command Reference manual for information on DIMBLK1.
dimblk2 This function returns the object ID of the block reference specified by the current DIMBLK2 value for the database.See the System Variables section of the AutoCAD Command Reference manual for information on DIMBLK2.
dimcen Returns the current DIMCEN value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMCEN.
dimclrd Returns the current DIMCLRD value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMCLRD.Note You can use the AcCmColor::colorIndex() method to obtain the AutoCAD color index number from the returned AcCmColor object.
dimclre Returns the current DIMCLRE value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMCLRE.Note You can use the AcCmColor::colorIndex() method to obtain the AutoCAD color index number from the returned AcCmColor object.
dimclrt Returns the current DIMCLRT value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMCLRT.Note You can use the AcCmColor::colorIndex() method to obtain the AutoCAD color index number from the returned AcCmColor object.
dimdec Returns the current DIMDEC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMDEC.
dimdle Returns the current DIMDLE value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMDLE.
dimdli Returns the current DIMDLI value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMDLI.
dimdsep Returns the current DIMDSEP value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMDSEP.
dimexe Returns the current DIMEXE value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMEXE.
dimexo Returns the current DIMEXO value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMEXO.
dimfrac Returns the current DIMFRAC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMFRAC.
dimfxlen Returns the fixed extension lines value.
dimfxlenOn Returns a value that indicates whether the fixed extension lines are on.
dimgap Returns the current DIMGAP value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMGAP.
dimjogang Returns the current large radial angle.
dimjust Returns the current DIMJUST value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMJUST.
dimldrblk Returns the object ID of the block reference specified by the current DIMLDRBLK value of the database.See the System Variables section of the AutoCAD Command Reference for information on DIMLDRBLK.
dimlfac Returns the current DIMLFAC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMLFAC.
dimlim Returns the current DIMLIM value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMLIM.
dimltex1 Returns the object ID of the linetype of extension line 1.
dimltex2 Returns the object ID of the linetype of extension line 2.
dimltype Returns the dimension linetype.
dimlunit Returns the current DIMLUNIT value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMLUNIT.
dimlwd This function returns the current DIMLWD value for the dimension.See the System Variables section of the AutoCAD Command Reference manual for information on DIMLWD.
dimlwe This function returns the current DIMLWE value for the dimension.See the System Variables section of the AutoCAD Command Reference manual for information on DIMLWE.
dimpost This function returns a pointer to the character string that is the current DIMPOST value for the datatbase.See the System Variables section of the AutoCAD Command Reference manual for information on DIMPOST.
dimrnd Returns the current DIMRND value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMRND.
dimsah Returns the current DIMSAH value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSAH.
dimscale Returns the current DIMSCALE value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMSCALE.
dimsd1 Returns the current DIMSD1 value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSD1.
dimsd2 Returns the current DIMSD2 value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSD2.
dimse1 Returns the current DIMSE1 value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSE1.
dimse2 Returns the current DIMSE2 value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSE2.
dimsoxd Returns the current DIMSOXD value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSOXD.
dimtad Returns the current DIMTAD value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTAD.
dimtdec Returns the current DIMTDEC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTDEC.
dimtfac Returns the current DIMTFAC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTFAC.
dimtfill Returns the dimension background color state, which can be one of the following values:0 means the background color is disabled1 means the use background color from dimtfillclr2 means the use drawing's background color
dimtfillclr Returns the current dimension background color (if dimtfill is set to 1).
dimtih Returns the current DIMTIH value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMTIH.
dimtix Returns the current DIMTIX value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMTIX.
dimtm Returns the current DIMTM value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTM.
dimtmove Returns the current DIMTMOVE value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTMOVE.
dimtofl Returns the current DIMTOFL value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMTOFL.
dimtoh Returns the current DIMTOH value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMTOH.
dimtol Returns the current DIMTOL value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMTOL.
dimtolj Returns the current DIMTOLJ value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTOLJ.
dimtp Returns the current DIMTP value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTP.
dimtsz Returns the current DIMTSZ value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTSZ.
dimtvp Returns the current DIMTVP value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTVP.
dimtxsty Returns the object ID of the TextStyle specified by the current DIMTXSTY value of the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTXSTY.
dimtxt Returns the current DIMTXT value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTXT.
dimtzin Returns the current DIMTZIN value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTZIN.
dimupt Returns the current DIMUPT value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMALT.
dimzin Returns the current DIMZIN value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMZIN.
evaluationRequestSeverityLevel Returns the severity level (positive integer) of a status value that indicates a request for an AcDbAssocAction or an AcDbAssocDependency to be evaluated, or 0 if the status does not indicate an evaluation request. The higher the number the more "severe" the request to evaluate.
isEvaluationRequest Checks whether the AcDbAssocStatus value indicates that an AcDbAssocAction or AcDbAssocDependency needs to be evaluated.
isDraggingProvidingSubstituteObjects Returns true if in the middle of dragging and the AcDbAssocDraggingState indicates that substitute non-database resident objects that are clones of the original database-resident objects are being provided.
isToBeSkipped Returns true if the AcDbAssocStatus indicates that the action or dependency should be skipped and treated as it it were not there.
regAppName Determines whether an application with the specified name has already been registered in the database.
revertAcDbObjectFromWrite For Internal Use Only. New callers should use AcDbSmartObjectPointer.Reverses the actions performed in accessAcDbObjectForWrite. The like-named parameters should have the values returned by accessAcDbObjectForWrite. accessStatus should have the status returned by accessAcDbObjectForWrite.Should always return the value passed into the accessStatus parameter. It should be eOk, or else the initial object access failed
setDimadec Sets v to be the DIMADEC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMADEC.Returns Acad::eOk if successful.
setDimalt Sets v to be the DIMALT value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMALT.Returns Acad::eOk if successful.
setDimaltd Sets v to be the DIMALTD value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTD.Returns Acad::eOk if successful.
setDimaltf Sets v to be the DIMALTF value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTF.Returns Acad::eOk if successful.
setDimaltrnd Sets v to be the DIMALTRND value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTRND.Returns Acad::eOk if successful.
setDimalttd Sets v to be the DIMALTTD value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTTD.Returns Acad::eOk if successful.
setDimalttz Sets v to be the DIMALTTZ value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTTZ.Returns Acad::eOk if successful.
setDimaltu Sets v to be the DIMALTU value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTU.Returns Acad::eOk if successful.
setDimaltz Sets v to be the DIMALTZ value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMALTZ.Returns Acad::eOk if successful.
setDimapost Sets a copy of the v string to be the character string that is the DIMAPOST value for the database.Returns Acad::eOk if successful.
setDimarcsym This function sets the arc symbol placement.Returns an Acad::ErrorStatus.
setDimasz Sets v to be the DIMASZ value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMASZ.Returns Acad::eOk if successful.
setDimatfit Sets v to be the DIMATFIT value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMATFIT.Returns Acad::eOk if successful.
setDimaunit Sets v to be the DIMAUNIT value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMAUNIT.Returns Acad::eOk if successful.
setDimazin Sets v to be the DIMAZIN value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMAZIN.Returns Acad::eOk if successful.
setDimblk Sets the DIMBLK value of this dimstyle to v.See the System Variables section of the AutoCAD Command Reference for information on DIMBLK.Returns Acad::eOk if successful.DIMBLK uses DXF group code 342. Note that in Release 14 DIMBLK was a char* variable and had a group code of 5.
setDimblk Sets the database to use the block reference named v as the DIMBLK value. If v is the name of a built-in arrowhead, the block and block reference will be created if necessary.See the System Variables section of the AutoCAD Command Reference for information on DIMBLK. Returns Acad::eOk if successful.
setDimblk1 Sets the database to use the block reference named v as the DIMBLK1 value. If v is the name of a built-in arrowhead, the block and block reference will be created if necessary.See the System Variables section of the AutoCAD Command Reference for information on DIMBLK1.Returns Acad::eOk if successful.
setDimblk1 Sets the DIMBLK1 value of this dimstyle to v .See the System Variables section of the AutoCAD Command Reference for information on DIMBLK1.Returns Acad::eOk if successful.DIMBLK1 uses DXF group code 343. Note that in Release 14 DIMBLK1 was a char* variable and had a group code of 6.
setDimblk2 Sets the database to use the block reference named v as the DIMBLK2 value. If v is the name of a built-in arrowhead, the block and block reference will be created if necessary.See the System Variables section of the AutoCAD Command Reference for information on DIMBLK2.Returns Acad::eOk if successful.
setDimblk2 Sets the DIMBLK value of this dimstyle to v .See the System Variables section of the AutoCAD Command Reference for information on DIMBLK2.Returns Acad::eOk if successful.DIMBLK2 uses DXF group code 344. Note that in Release 14 DIMBLK2 was a char* variable and had a group code of 7.
setDimcen Sets v to be the DIMCEN value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMCEN.Returns Acad::eOk if successful.
setDimclrd Sets the AutoCAD color index within v to be the DIMCLRD value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMCLRD.Returns Acad::eOk if successful.
setDimclre Sets the AutoCAD color index within v to be the DIMCLRE value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMCLRE.Returns Acad::eOk if successful.
setDimclrt Sets the AutoCAD color index within v to be the DIMCLRT value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMCLRT.Returns Acad::eOk if successful.
setDimdec Sets v to be the DIMDEC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMDEC.Returns Acad::eOk if successful.
setDimdle Sets v to be the DIMDLE value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMDLE.Returns Acad::eOk if successful.
setDimdli Sets v to be the DIMDLI value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMDLI.Returns Acad::eOk if successful.
setDimdsep Sets v to be the DIMDSEP value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMDSEP.Returns Acad::eOk if successful.
setDimexe Sets v to be the DIMEXE value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMEXE.Returns Acad::eOk if successful.
setDimexo Sets v to be the DIMEXO value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMEXO.Returns Acad::eOk if successful.
setDimfrac Sets v to be the DIMFRAC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMFRAC.Returns Acad::eOk if successful.
setDimfxlen This function sets the fixed extension line length.Returns an Acad::ErrorStatus.
setDimfxlenOn This function enables or disables fixed extension length.Returns an Acad::ErrorStatus.
setDimgap Sets v to be the DIMGAP value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMGAP.Returns Acad::eOk if successful.
setDimjogang This function sets the large radial dimension jog angle.Returns an Acad::ErrorStatus.
setDimjust Sets v to be the DIMJUST value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMJUST.Returns Acad::eOk if successful.
setDimldrblk Sets the DIMLDRBLK value of this dimstyle to v .See the System Variables section of the AutoCAD Command Reference for information on DIMLDRBLK.Returns Acad::eOk if successful.DIMLDRBLK uses DXF group code 341.
setDimldrblk Sets the database to use the block reference named v as the DIMLDRBLK value. If v is the name of a built-in arrowhead, the block and block reference will be created if necessary.See the System Variables section of the AutoCAD Command Reference for information on DIMLDRBLK. Returns Acad::eOk if successful.
setDimlfac Sets v to be the DIMLFAC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMLFAC.Returns Acad::eOk if successful.
setDimlim Sets v to be the DIMLIM value for the database. The value of false is 0. The value of true is 1. Setting DIMLIM to true sets DIMTOL to false.See the System Variables section of the AutoCAD Command Reference for information on DIMLIM and DIMTOL.Returns Acad::eOk if successful.
setDimltex1 This function sets the extension line 1 linetype.Returns an Acad::ErrorStatus.
setDimltex2 This function sets the extension line 2 linetype.Returns an Acad::ErrorStatus.
setDimltype This function sets the dimension linetype.Returns an Acad::ErrorStatus.
setDimlunit Sets v to be the DIMLUNIT value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMLUNIT.Returns Acad::eOk if successful.
setDimlwd Sets v to be the DIMLWD value for the database.See the System Variables section of the AutoCAD Command Reference manual for information on DIMLWD.
setDimlwe Sets v to be the DIMLWE value for the database.See the System Variables section of the AutoCAD Command Reference manual for information on DIMLWE.
setDimpost Sets the database to use a copy of the v character string as the DIMPOST value.See the System Variables section of the AutoCAD Command Reference for information on DIMPOST.Returns Acad::eOk if successful.
setDimrnd Sets v to be the DIMRND value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMRND.Returns Acad::eOk if successful.
setDimsah Sets v to be the DIMSAH value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSAH.Returns Acad::eOk if successful.
setDimscale Sets v to be the DIMSCALE value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMSCALE.Returns Acad::eOk if successful.
setDimsd1 Sets v to be the DIMSD1 value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSD1.Returns Acad::eOk if successful.
setDimsd2 Sets v to be the DIMSD2 value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSD2.Returns Acad::eOk if successful.
setDimse1 Sets v to be the DIMSE1 value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSE1.Returns Acad::eOk if successful.
setDimse2 Sets v to be the DIMSE2 value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSE2.Returns Acad::eOk if successful.
setDimsoxd Sets v to be the DIMSOXD value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMSOXD.Returns Acad::eOk if successful.
setDimtad Sets v to be the DIMTAD value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTAD.Returns Acad::eOk if successful.
setDimtdec Sets v to be the DIMTDEC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTDEC.Returns Acad::eOk if successful.
setDimtfac Sets v to be the DIMTFAC value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTFAC.Returns Acad::eOk if successful.
setDimtfill This function sets the sets the dimension background fill color.v can be one of the following values:0 = No Background Fill color1 =Use background fill color from dimtfillclr()2 = Use drawing's background colorReturns an Acad::ErrorStatus.
setDimtfillclr This function sets the dimension's background fill color.Returns an Acad::ErrorStatus.
setDimtih Sets v to be the DIMTIH value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMTIH.Returns Acad::eOk if successful.
setDimtix Sets v to be the DIMTIX value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMTIX.Returns Acad::eOk if successful.
setDimtm Sets v to be the DIMTM value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTM.Returns Acad::eOk if successful.
setDimtmove Sets v to be the DIMTMOVE value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTMOVE.Returns Acad::eOk if successful.
setDimtofl Sets v to be the DIMTOFL value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMTOFL.Returns Acad::eOk if successful.
setDimtoh Sets v to be the DIMTOH value for the database. The value of false is 0. The value of true is 1.See the System Variables section of the AutoCAD Command Reference for information on DIMTOH.Returns Acad::eOk if successful.
setDimtol Sets v to be the DIMTOL value for the database. The value of false is 0. The value of true is 1. Setting DIMTOL to true sets DIMLIM to false.See the System Variables section of the AutoCAD Command Reference for information on DIMLIM and DIMTOL.Returns Acad::eOk if successful.
setDimtolj Sets v to be the DIMTOLJ value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTOLJ.
setDimtp Sets v to be the DIMTP value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTP.Returns Acad::eOk if successful.
setDimtsz Sets v to be the DIMTSZ value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTSZ.Returns Acad::eOk if successful.
setDimtvp Sets v to be the DIMTVP value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTVP.Returns Acad::eOk if successful.
setDimtxsty Sets the database to use the TextStyleTableRecord with object ID v as the DIMTXSTY value.See the System Variables section of the AutoCAD Command Reference for information on DIMTXSTY.Returns Acad::eOk if successful.
setDimtxt Sets v to be the DIMTXT value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTXT.Returns Acad::eOk if successful.
setDimtzin Sets v to be the DIMTZIN value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMTZIN.Returns Acad::eOk if successful.
setDimupt Sets v to be the DIMUPT value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMUPT.Returns Acad::eOk if successful.
setDimzin Sets v to be the DIMZIN value for the database.See the System Variables section of the AutoCAD Command Reference for information on DIMZIN.Returns Acad::eOk if successful.

Topics

Topic Description
accessAcDbObjectForRead
acdbAngToS
acdbConvertFieldsToText
acdbEvaluateFields
acdbFreeResBufContents If acdbGroupCodeToType(pField->restype) == AcDb::kDwgText or AcDb::kDwgBChunk, then the text or binary chunk memory will be freed. The resbuf... more
acdbGetMotionPathDictionary
acdbGetNamedPathDictionary
acdbGroupCodeToType This function is primarily intended for AutoCAD internal use, but it can used by ObjectARX applications to determine what data... more
acdbIsPersistentReactor Returns true if pSomething is a pointer to a persistent reactor; otherwise, returns false. pReactor must be a void... more
acdbMakeFieldCode
acdbOpenObject
acdbPersistentReactorObjectId If pObject points to a persistent reactor object, then the object's objectId is returned, otherwise AcDbObjectId::kNull is returned. pSomething must... more
acdbPSLayoutAnnoAllVisible
acdbPutSummaryInfo
acdbValidateCustomSummaryInfoKey@TCHAR*@AcDbDatabaseSummaryInfo* Validates the custom summary info key to ensure the characters are appropriate and the key is not a duplicate. Invalid... more
fromAcDbTextStyle
toAcDbTextStyle

Was this information helpful?