API Reference > Classes > Database Classes > OdBmViewTable Class > OdBmViewTable Methods > OdBmViewTable::findViewIdByName Method
OdBmViewTable::findViewIdByName Method
Syntax
C++
OdBmObjectId findViewIdByName(const OdString sViewName);
Parameters 
Description 
const OdString sViewName 
[in] Name of the view to look for.  

objectId for the found view. If view was not found, returns null objectId.

Searches the database for a view with the given name. 

 

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