@Tasty_Tech ,
How are you executing the script? I was able to run this fine attaching to a script instance on the CtrlX CORE. From the debug pane in the IDE, select "Launch Python in Script Engine" and select an existing or create a new script instance.
As an aside, your code will cause errors from the motion state being invalid. The axes kinematic must be powered on and grouped before executing a move.
App versions:
IDE 2.6.2
Python Runtime 2.6.0
Motion 2.6.1
... View more