help for moving an object to a given position without the robot

I am trying to send a position information to kuka.sim and I want the program to move an object / block to the sent position / coordinates.
Is there a method to do it directly in the program or should I write a python script if so is there an example ?
Thank you very much.