API Reference > OdDg Classes > OdDgDatabase Class > OdDgDatabase Methods > OdDgDatabase::getActiveModelId Method
OdDgDatabase::getActiveModelId Method
Syntax
C++
OdDgElementId getActiveModelId() const;

active model ID

will set to the first available model (while saving) if is not initialized/not correct

Copyright © 2002–2021. Open Design Alliance. All rights reserved.