set_values(...) - set_values(...) - 2026.1 English - UG1781

Python Scripting Guide for PDM Tool (UG1781)

Document_ID
UG1781
Release_Date
2026-06-23
Version
2026.1 English
Revision

Description

Set dictionary of values in a format {record: {field: value, ...}, ...} to the summary.

Syntax

set_values(<records_dict>)

Parameters

Name Description
<records_dict> Dictionary of record names mapped to dictionaries of field names to value mappings in a format {record: {field: value, ...}, ...}.

Examples

#set writable field values on a summary
proj = new_project('my_design.pdm', part='XCVH1542-VSVA3697-2MP-E-S')
summary = proj.get_summary('hbm_summary')
#Set values using a dictionary of dictionaries
summary.set_values({'HBM Tj Override':{'user_choice': 'User Override ON', 'value': 50.0}})