Thank you Patrick for your hint.
If I use the integer values (0 = eVMOperNone, 1=eVMOperUnplace, 2=eVMOperReplace) instead of the ENUM Types mentioned in the automation user book it works in both versions EE7.9.5 and EEVX.1.
If I use any ENUM type like eVMOperUnplace or eVMOperReplace instead of the integer values I get the same error message for the first ENUM Type.
eg. If I replace eVMOperNone with 0, then the first error appears with eVMOperUnplace as not defined variable.
If I replace eVMOperNone with 0 and eVMOperUnplace with 1 then the error comes with eVMOperReplace
If I change all values to integer constants - everything works perfect.
So it looks like a bug from Mentor! Maybe the ENUM Types are not public anymore?!?
Best regards.
Wolfgang