Different Values at every run


#1

Hi All,

First of all thanks to all the masters who have been doing such wonderful work. I am a amateur trying my hand at it.

I am trying to sort the Sheets by a parameter. When I run the script it gives a different set of values every time for the Sheet numbers (missing numbers vary) while all the Sheet names are correctly listed. Could you help where am I going wrong.

Error-01Error-02

 


#2

I think this is a known issue, insted of using the “GetParameterValueByName” to get the Sheet Number value, try using the “Sheet.SheetNumber” node

Sheet.SheetNumber