API Reference > Classes > Database Classes > OdBmDBView Class > OdBmDBView Methods > OdBmDBView::setViewDiscipline Method
OdBmDBView::setViewDiscipline Method
Syntax
C++
OdResult setViewDiscipline(const OdBm::ViewDiscipline::Enum& val);
Parameters 
Description 
const OdBm::ViewDiscipline::Enum& val 
[in] 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 

Sets the view's discipline. 

 

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