Hello Guest it is May 14, 2021, 02:52:01 AM

Author Topic: mc.mcToolPathGenerate()  (Read 805 times)

0 Members and 1 Guest are viewing this topic.

mc.mcToolPathGenerate()
« on: April 17, 2017, 05:03:36 PM »
Is there something behind the scenes that prevents this function from executing during a program run?  I have a macro that I want to call that moves X and Y to a specific location, then zeros the DRO's, re-paints the toolpath display and continues on.  Everything works, but the toolpath display doesn't regenerate when mc.mcToolPathGenerate(inst) is called.

Thanks

Offline smurph

*
  • *
  •  1,402 1,402
  • "That there... that's an RV."
    • View Profile
Re: mc.mcToolPathGenerate()
« Reply #1 on: April 20, 2017, 03:17:25 PM »
It will only work in the idle machine state.  :(  Why, because it uses the interpreter to generate the tool path.  So running the interpreter to run a file and generate a tool path is definitely mutually exclusive. 

Steve