pymtprotocol
pymtprotocol copied to clipboard
laserOn / laserPointerEnabled not controllable
Hi there,
First of all, thank you so much for such brilliant work - I was able to combine it with the keyboard lib to listen for a hotkey, and then write the measurement into the keyboard buffer - using it to effectively start a line in sketchup and then trigger the measurement to determine it's length... brilliant!
However, where I am getting stuck is to try and activate the laser before the measurements (permanently) - I am wanting to basically do what you can when holding down func and go down in the menu to permanently activate the laser (but not stake out).
I have tried to fiddle with the laserOn and laserPointerEnabled settings via variations of code like
glm.writeSettings(glm.readSettings(), laserOn=1)
and
glm.writeSettings(glm.readSettings(), laserPointerEnabled=True)
, and while it does not throw an error, it has not the desired effect.
Have you been able to make this work during your experimentation? Any tips?
Thanks again,
F