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

M
M Member, Employee Posts: 199
First Comment First Anniversary Ansys Employee Solution Developer Community of Practice Member
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: