Hello Guest it is May 11, 2021, 04:07:56 PM

Author Topic: mcMasterModule question  (Read 1781 times)

0 Members and 1 Guest are viewing this topic.

Re: mcMasterModule question
« Reply #10 on: June 29, 2018, 04:54:15 PM »
Your SafeZ value is saved in the machine.ini file in your profile's directory.  If your search the file and don't find it then it has never been created.  You can also check by going to Configure->Plugins->Regfile and see it there, where you created it, or, 'Diagnostic->RegFile' and see it's current value if it exists.

Sorry, that's all got.
Re: mcMasterModule question
« Reply #11 on: June 29, 2018, 05:07:11 PM »
I just confirmed that scr.GetProperty is not working at all.

        scr.SetProperty("droToolChangePosZ", "Value",  "1")
   val = scr.GetProperty("droToolChangePosZ", "Value")

always returns "". they are in the same function as a test. DRO value on screen changes as it should. retrieving it, fails.

Offline smurph

  • *
  •  1,401 1,401
  • "That there... that's an RV."
    • View Profile
Re: mcMasterModule question
« Reply #12 on: July 10, 2018, 06:17:40 PM »
Try checing the return code of the scr API call. 

val, rc = scr.GetProperty("droToolChangePosZ", "Value")

What is the value of rc?  It will be one of:

SERROR_NOERROR                       0
SERROR_API_INIT                       -1
SERROR_IPC_NOT_READY            -99