API Reference > OdDAI Namespace > Classes > Select Class > Select Methods > setEnum Method > Select::setEnum Method (OdDAI::Enum *)
Select::setEnum Method (OdDAI::Enum *)
Syntax
C++
bool setEnum(const OdDAI::Enum * val);
Parameters 
Description 
const OdDAI::Enum * 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::Enum* into underlying enumeration instance.

Enumeration types of val enumeration instance and select's underlying enumeration instance must be the same in the scope of same EXPRESS schema.

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