API Reference > OdDAI Namespace > Classes > Repository Class > Repository Methods > Repository::hasModel Method
Repository::hasModel Method
Syntax
C++
bool hasModel(const OdAnsiString & modelName);

Retrieves if model with model name already exists in repository. returns True if model with same name is already exists in repository, otherwise returns false.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.