URGENT! PLEASE HELP (Python parameters change and looping print)

hi everyone. i am trying to make a loop on one sheet, setting parameter by name before printing over and over. i took the pdf printing code from archilab trying to loop it but no luck, it prints all with the same parameter from the specified list

here is the piece of code i am concerned with
debuglist =
for x in parameterValue:
theSheet[0].SetParameterByName(“UNIT ORIENTATION”, str(x))
PrintView(doc,theSheet,pRange, printerName, combined, filePath,printSetting)
OUT = debuglist

Please refrain from duplicating posts. It clutters the board and makes it harder for others to help you. Closing this thread accordingly.

1 Like