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:
TransactionManager.Instance.EnsureInTransaction(doc)
theSheet[0].SetParameterByName(“UNIT ORIENTATION”, str(x))
TransactionManager.Instance.TransactionTaskDone()
debuglist.append(x)
PrintView(doc,theSheet,pRange, printerName, combined, filePath,printSetting)
OUT = debuglist