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

Environmental News
'Subterranean estuaries' crucial to sustainable fishing and aquacultur...
Pioneering research suggests 'subterranean estuaries' may be critical in managing sustainable fishing and aquaculture --...

Chemicals from human activities in transplanted oysters far from popul...
Wastewater treatment facilities clean the water that goes down our sinks and flushes our toilets, but they do not remove...

Antarctic Circumpolar Current flows more rapidly in warm phases
Our planet's strongest ocean current, which circulates around Antarctica, plays a major role in determining the transpor...
Source: Science Daily
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 "Access WEAP Versions from Python API"
Log in to post new messages or reply to existing messages.
 
Author Message
Mr. David Poblete

Subject: Access WEAP Versions from Python API   
Posted: 4/20/2020 Viewed: 1674 times
Hi, I've been trying to revert to a previous version in my Area from a Python API Command as shown in the link (https://www.weap21.org/WebHelp/WEAPVersion.htm).

When I try, I get a message like this:

In[199]: WEAP.Versions(1).Revert
Out[199]: <bound method Revert of <COMObject <unknown>>>

I can work with all the other API commands, but this one failed to me. I tried many ways but always the same massage. Any clue?

Topic "Access WEAP Versions from Python API"