I got an issue when I set the parameters of grating object via API.
When I set other parameters of grating object via API, the preset Y start/stop order will change to 0 automatically.
And I am trying to find a function to set the Y start/stop order in API, it turns out there is only property named start order can be set.
So this issue is the Y start/stop orde will be changed to 0 automatically when I am setting other parameters, and I cannot set the Y order via API.