Synopsis
void step_GetDbptr(int model, long int pfid, MDA_PTR *db_ptr)
Purpose
Get database pointer from pfid.
Description
The database pointer corresponding to the specified STEP physical file id (pfid) will be retrieved. To use this function the option SAFP_SAVE_HASH_TABLE must have been specified when the file was parsed. This function will only work for entities in the original file, it cannot be used for entities created by the application.
Input
model
Model used for parsing file
pfid
Physical file ID
Output
db_ptr
Database pointer