fill_values(...) - fill_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

Fill listed by names records with the same dictionary of field names to value mappings in a format {field: value, ...}.

Syntax

fill_values(<fields_dict>, [<record_names>])

Parameters

Name Description
<fields_dict> Dictionary of field names to value mappings in a format {field: value, ...}.
[<record_names>] List of record names.

Default: All available record names

Examples

# Apply the same field values to multiple records in a summary
proj = new_project('my_design.pdm', part='XCVC1902-VIVA1596-1LP-E-S')
summary = proj.get_power_design().get_summary('power_delivery_design')
# Fill only specific records with the same field values
summary.fill_values({'voltage':0.72},['0V70_PSLP (Digital)','0V70_PSFP (Digital)'])