Is it Possible to Remove 2nd Units & Qty by Setting Only the Primary Units Programmatically

Hello,

In the Step settings, we can configure a material’s Primary and/or Secondary Units when transitioning to the step. If the Set Units is enabled and only the Primary Units is specified, the material’s Secondary Units can be discarded.

How can this same effect be achieved programmatically?
I’ve experimented with the Change Quantity and Loss mechanisms on the material, but neither appears to allow setting the Secondary Units to null.

Any help or insight would be greatly appreciated :hugs:

Timmy.

Hi Timmy,

Can you share a code example of what you are doing?

Best regards,

João Moreira