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

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

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

説明

指定した名前一覧に基づいてレコードをデフォルト値にリセットします。

構文

reset_records([<record_names>])

パラメーター

名前 説明
[<record_names>] レコード名のリスト。

デフォルト: 使用可能なすべてのレコード名

# Reset all records to their default field values
proj = open_project('my_design.pdm')
io_config = proj.get_block('io').get_resource('io_config')
io_config.reset_records()
# Reset only specific records
io_config.reset_records(['io_inst1'])