Share

acdbModelerRestoreEntitiesFromDwgFiler Function

C++

ACDB_PORT Acad::ErrorStatus acdbModelerRestoreEntitiesFromDwgFiler(
    AcDbDwgFiler* filer, 
    AcArray<ENTITY*>& entities, 
    int* pModelerVersion = nullptr, 
    unsigned restoreOptions = kReadStrangerEntityDefault
);

File

dbacis.h

Description

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.

Parameters

Parameters Description
filer DWG Filer to restore from
entities Restored array of entities
pModelerVersion If valid, set to the modeler version of restored entities
restoreOptions A valid combination of ModelerRestoreOptions enum values

Returns

Acad::eOk if the entity is restored successfully (including a null entity).

Was this information helpful?