Share

acdbGetDynDimStyleId

C++

ACDBCORE2D_PORT AcDbObjectId acdbGetDynDimStyleId(
    AcDbDatabase* pDb = NULL
);

File

dbxutil.h

Description

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 table record may be erased by the Dynamic Dimension Manager to prevent it from being used by AutoCAD commands such as DDIM.

pDb specifies the database from which the style ID is obtained. If pDb is NULL, the database returned by AcDbHostApplicationServices::workingDatabase() is used.

Parameters

Parameters Description
pDb Input database from which to get the style ID

Was this information helpful?