ArcCAM

 From:  Michael Gibson
11543.37 In reply to 11543.36 
Hi Len, the script engine used currently in MOI is a bit older and only supports ECMAScript 5.

Classes were a new language feature starting in ECMAScript 6, so sorry no that can't be used in MOI scripts.

However, you can still structure things in the same way as a class in ECMAScript 5, the new "class" keyword in ECMAScript 6 doesn't really do a whole lot.

- Michael