Share

acdbGetNamedPathDictionary

C++

Acad::ErrorStatus SCENEDLLIMPEXP acdbGetNamedPathDictionary(
    AcDbDatabase* pDb, 
    AcDbDictionary*& pDict, 
    AcDb::OpenMode mode, 
    bool createIfNonExist
);

File

dbNamedPath.h

Description

Given the database pointer pDb, this function opens the named path dictionary (ACAD_NAMEDPATH) in the mode specified by mode. If the dictionary does not exist, it will be created if createifNotExist is true.

Returns Acad::eOk if successful. Returns Acad::eKeyNotFound if the named path dictionary does not exist and if createifNotExist was set to false.

Parameters

Parameters Description
pDb Input pointer to the database from which to retrieve the named path dictionary
pDict Output pointer to the named path dictionary
mode Input requested open mode
createIfNonExist Input Boolean indicating whether the function should create the named path dictionary if it does not currently exist in the specified database

Was this information helpful?