API Reference > Classes > Database Classes > OdBmDBView Class > OdBmDBView Methods > OdBmDBView::getViewDiscipline Method
OdBmDBView::getViewDiscipline Method
Syntax
C++
OdResult getViewDiscipline(OdBm::ViewDiscipline::Enum& discipline) const;
Parameters 
Description 
OdBm::ViewDiscipline::Enum& discipline 
[out] ViewDiscipline enum value.  

eOk if the operation completed successfully, or an appropriate error code otherwise. remarks Possible ViewDiscipline values:

Architectural 
Architectural discipline 
Structural 
Structural discipline 
Mechanical 
Mechanical discipline 
Electrical 
Electrical discipline 
Plumbing 
16 
Plumbing discipline 
Coordination 
4095 
Coordination discipline 

Returns the view's discipline. 

 

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