Get actual modal mode

This is where you talk about Plugins. How they are made and how they work, show examples.

Get actual modal mode

Postby shad » Mon Oct 17, 2016 7:16 pm

Hello Balazs!
Please explain, can I get actual modal mode in the plugin?
Just I need to remember current modal mode and then restore.
Thanks!
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 332
Joined: Thu Sep 15, 2016 5:23 pm

Re: Get actual modal mode

Postby shad » Wed Oct 19, 2016 4:46 am

Thank you Terry! I am think about this before, but was hoping that there is an easier way.
No problem to parse active mode modal string. :)
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 332
Joined: Thu Sep 15, 2016 5:23 pm

Re: Get actual modal mode

Postby ger21 » Fri Dec 31, 2021 10:47 pm

If anyone is looking for this, it's UC.Getactualmodalcode(group) where group is the modal group number. See the UCCNC manual for group numbers.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am


Return to Plugins

Who is online

Users browsing this forum: No registered users and 6 guests