API Reference > OdDAI Namespace > Classes > Select Class > Select Methods > setEnum Method > Select::setEnum Method (OdDAI::EnumValueInfo &)
Select::setEnum Method (OdDAI::EnumValueInfo &)
Syntax
C++
bool setEnum(const OdDAI::EnumValueInfo & val);
Parameters 
Description 
const OdDAI::EnumValueInfo & val 
[in] A new value.  

Returns true if the value was successfully set; otherwise, the method returns false.

Sets a new value represented by OdDAI::EnumValueInfo into underlying enumeration instance.

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