Model.createfbdfilefromfbdsummarytable#

Model.createfbdfilefromfbdsummarytable(filepath, summPt_systemId, summaryTable_name)#

Creates a .fbd file from an FBD summary table.

Parameters:
  • filepath (hwString) – The full name and path of the .fbd file to write.

  • summPt_systemId (Entity) – The entity system to resolve the summation.

  • summaryTable_name (hwString) – The name of the FBD summary table created by Model.createfbdsummarytable().

Example#

Write the FBD file to “ C:/temp / my_fbd.fbd “ use system ID 2 and summary table “ FBDSummary_Run1 “#
import hm
import hm.entities as ent

model = hm.Model()

model.createfbdfilefromfbdsummarytable(
filepath="C:/temp/my_fbd.fbd",
summPt_systemId=2,
summaryTable_name="FBDSummary_Run1",
)