I figured out how to get this working.

For some reason I can't post the code here so here it the link to the topic on the Newton forum.

http://www.newtondynamics.com/forum/...pic.php?t=2758

You need to be a member of the forum to read it I'm afraid.

Dean