Author Topic: How to set the StepOver property to "Auto" from within a Python script?  (Read 2593 times)

Offline gmoo

  • Storm Trooper
  • ***
  • Posts: 150
  • Jam it !
    • View Profile
Psssst - Herman hasn´t been here since May 04, 2016, 21:37:08 pm  ;D

BIG BROTHER IS WATCHING YOU
best regards

Bernhard

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 5960
    • View Profile
    • Cambam French Doc
Quote
Psssst - Herman hasn´t been here since May 04, 2016, 21:37:08 pm

Ah yes !! , I did not see that ;D

++
David

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4333
    • View Profile
Looking at the code in CamBam.CAD, there is an enumeration called CBValueStates, it's generally better to use that than assign just it's number.

In the enum "Auto" would have a value of 2

public enum CBValueStates
{
   Error = -2,
   Undefined,
   Default,
   Value,
   Auto
}


Made in England

Offline gmoo

  • Storm Trooper
  • ***
  • Posts: 150
  • Jam it !
    • View Profile
THX, Eddy, I´ll keep that in my mind.
In between setting to 0 does exactly what I want.

Best regards

Bernhard
best regards

Bernhard