cutlist macro problem

how to solve the problem in the picture

can you edit a macro

I'm using solidworks 2019

SolidworksApi/macros