C++
bool layoutExists( const ACHAR* name, const AcDbDatabase* pDb = nullptr );
Description
This function returns true if the layout named name is found in the database pointed to by pDb. If pDb is NULL, then the workingDatabase will be used.
Parameters
| Parameters | Description |
|---|---|
| name | Input name of layout to find. |
| pDb | Input AcDbDatabase to use. |