Share

acdbGetMotionPathDictionary

C++

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

File

dbMotionPath.h

Description

Given the database pointer pDb, this function opens the motion path dictionary (ACAD_MOTION) 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 motion 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 motion path dictionary
pDict Output pointer to the motion path dictionary
mode Input requested open mode
createIfNonExist Input Boolean indicating whether the function should create the motion path dictionary if it does not currently exist in the specified database

Was this information helpful?