Hi @tru3anomaly,
I don’t know if you have to cast a parameter or if this is an error in the code. But, I don’t see any error.
To help you, please find an example of OEM writing just here: setInterpolationDegree in OEM Template - #3 by Kozak
Best regards,
Bryan