Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: kratech on January 30, 2013, 07:36:25 AM

Title: Generating a planned motion from a plugin
Post by: kratech on January 30, 2013, 07:36:25 AM
Hello, I'm new to the mach SDK. I've just finished the awesome tutorial by jemmyell - thanks!
I'm trying to write a plugin to generate fixed (planned) motion, as opposed to jogging. Checking through CMyScriptObject, I found JogOn(int, int) but no function that seems to take a planned motion in account.
Title: Re: Generating a planned motion from a plugin
Post by: kratech on January 30, 2013, 08:34:28 AM
Hmm. The member function "Code" seems to do the trick, but it looks more like a hack.