General

General

How to get values of parameter P1 for all DPs into a list using workbench scripting?

    • FAQFAQ
      Participant

      allsys = GetAllSystems() system1 =allsys[0] dp= Parameters.GetAllDesignPoints() pp = Parameters.GetParameter(Name=’P1′) my_par_list=[] BodyCounts=[] for k in range(len(dp)): dpp = Parameters.GetDesignPoint(Name=k.ToString()) my_par_list.append(dpp.GetParameterValue(Parameter=pp))