On 18 August 2015 at 00:04, Jeff Epler <jep...@unpythonic.net> wrote:
> AFAIK panels are too primitive to do this sort of mdi command crafting No, actually, I am doing exactly that now. The "go" button on my lathe GUI is an MDI button that looks like this: <object class="EMC_Action_MDI" id="turn.go"> <property name="command">O<turning> call [${turn.x-f}] [${turn.sf-f}] [${turn.cut-f}] [${turn.feed-f}] [${turn.z-f}] [${turn.rad-f}] [${turn.angle-f}] [${turn.tool-s}] </property> There is a ${control_name} substitution scheme in GladeVCP. I don't know any way to do the same thing in PyVCP though. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers