API Reference > OdDb Classes > OdDbField Class > OdDbField Methods > OdDbField::setEvaluationOption Method
OdDbField::setEvaluationOption Method
Syntax
C++
OdResult setEvaluationOption(OdDbField::EvalOption evaluationOption);
Parameters 
Description 
OdDbField::EvalOption evaluationOption 
[in] Evaluation option. 

Sets the evaluation option for this Field object. 

 

evaluationStatus must be a combination of one or more of the following: 

 

Name 
Value 
Description 
kDisable 
Do not evaluate field. 
kOnOpen 
0x01 
Evaluate field when a drawing is opened. 
kOnSave 
0x02 
Evaluate field when a drawing is saved. 
kOnPlot 
0x04 
Evaluate field when a drawing is printed. 
kOnEtransmit 
0x08 
Evaluate field when a drawing is etransmitted. 
kOnRegen 
0x10 
Evaluate field when a drawing is regenerated. 
kOnDemand 
0x20 
Evaluate field when demanded. 
kAutomatic 
0x3F 
Evaluate field automatically. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.