All Topics | Topic: “Adding an Scenario by Scripting”
Author Message
Dr. Juan Castaño Rojas
Subject: Adding an Scenario by Scripting   
Posted: 10/11/2017 Viewed: 13917 times

Dear Jack

I´ve been trying to add a new scenario by using the following command in VBA


WEAP.Scenarios.Add("Larger reservoir", "Supply Measures")


However, it does work.

Any advise?
Mr. Doug Chalmers
Subject: Re: Adding an Scenario by Scripting   
Posted: 2/6/2025 Viewed: 3001 times

To add scenarios by scripting, see the "Scenario API" in the WEAP help.
Topic: “Adding an Scenario by Scripting”