get_summary(...) - get_summary(...) - 2026.1 日本語 - UG1781

Power Design Manager Python スクリプト ガイド (UG1781)

Document_ID
UG1781
Release_Date
2026-06-23
Version
2026.1 日本語

説明

名前を使用したサマリ オブジェクトを取得します。

構文

get_summary(<name>)

戻り値

PdmSummary オブジェクト。

パラメーター

名前 説明
<name> サマリ名。

# Get a summary object from a block
proj = open_project('my_design.pdm')
io_block = proj.get_block('io')
# io_block.summary_names == ['power', 'summary', 'utilization', 'io_banks']
# Get power summary and read its values
io_power = io_block.get_summary('power')
values = io_power.get_values()
# Iterate over all block summaries
for name in io_block.summary_names:
	summary = io_block.get_summary(name)
	# do something with summary, e.g. summary.get_values()