Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

How to get seed model from within a measure

asked 2020-09-03 23:33:24 -0500

antonszilasi's avatar

updated 2020-09-04 10:43:55 -0500

Hi all,

Can someone please provide me with some code to get the seed model of the OpenStudio:Workflow from within a measure.

Sorry if this has been asked before but I cant seem to find the the code.

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-09-04 09:47:57 -0500

The method you're looking for is WorkflowJSON::seedFile().

So it can be retrieved like:

seed_file = runner.workflow.seedFile.get

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2020-09-03 23:33:24 -0500

Seen: 567 times

Last updated: Sep 04 '20