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 "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: 2104 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"