Welcome to WEAP's Website WEAP
WEAP is an initiative of the Stockholm Environment Institute.


About WEAP

Home
Why WEAP?
Features
What's New?
Sample Screens
Demonstration
Publications
History and Credits

Using WEAP
Download
Licensing
User Guide
Tutorial
Videos (YouTube)

User Forum
Discussions
Members List
Edit Profile

Additional Support
Training
University Courses
Collaboration

About Us
SEI-US Water Resources Program
Please Contact Us

LEAP
Interested in Energy?
Read about LEAP: SEI's software for energy planning.

Link WEAP and LEAP for combined Water-Energy planning.
Watch a video demo!
   

User Forum

All Topics | Topic "API Help"
Log in to post new messages or reply to existing messages.
 
Author Message
Mr. Reza Ahmad Limon

Subject: API Help   
Posted: 2/13/2018 Viewed: 9122 times
I am just starting with WEAP API and I was trying to run the example in WEAP help. But, it doesn't run and shows this error "WEAPApplication.Scenarios: Invalid scenario: Supply measures". So, I have checked the "Weaping River Basin" file itself and it does have that scenario. I have tried to run the lines on the example on Excel VBScript editor. From there I have found that the script cannot change the scenario to "Supply Measures" scenario when the schematic view is on. But, if the "Data" view is on it can change the scenarios. So, I added a line on the example script to change the view to "Data". But, it doesn't go to Data view with the script instead goes to schematic view and while command says to go to Schematic view it shows error that there is no such view. Does anyone here knows what's happening here and how can I fix this?
Topic "API Help"