Hi,
there is an API for that, but I'm not sure that it was intended for use on the fly, that is to say I thought it was for use in plugins
where a parameter, in this case 'steps per unit', were set for a device and then left alone.
LUA Syntax:
rc = mc.mcMotorSetCountsPerUnit(
number mInst,
number motorId,
number counts)
Description:
Set the counts per native machine setup units.
Craig