Share

AcGsManager::hasGsModel

C++

virtual bool hasGsModel(
    AcGsGraphicsKernel* pKernel, 
    const AcDbDatabase* pDb
) const = 0;

Description

Tests for an AcGsModel association with the specified AcDbDatabase.

Parameters

Parameters Description
pKernel Input graphics kernel to use
pDb Input database

Returns

Returns true if there is a model associated with the database.

Remarks

This is a convenience method to test for non-null return value from AcGsManager::gsModel().

Links

AcGsManager Class

Previous Class

AcGsManager2

History

AutoCAD 2025

Previously part of the AcGsManager2 class.

Was this information helpful?