How can I update all design points in WB with Scripting?

M
M Member, Employee Posts: 244
50 Answers 100 Comments 100 Likes Second Anniversary
✭✭✭✭
edited June 2023 in Structures

like so


paras = Parameters.GetAllParameters()
for para in paras:
    pn = str(para).split(':P')[1]
    pn = str(int(pn)-1)
    designPoint = Parameters.GetDesignPoint(Name=pn)
    backgroundSession = UpdateAllDesignPoints(DesignPoints=[designPoint])
Tagged: