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
Not acting like themselves: Antidepressants in environment alter crayf...
Expose crayfish to antidepressants, and they become more outgoing -- but that might not be such a positive thing for the...

Use of PFAS in cosmetics 'widespread,' new study finds
Many cosmetics sold in the United States and Canada likely contain high levels of per- and polyfluoroalkyl substances (P...

Baltic herring larvae appear earlier and grow faster due to climate ch...
Conditions during Baltic herring spawning may have cascading effects on the whole Baltic ecosystem.
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 "Deleting a node using Python"
Log in to post new messages or reply to existing messages.
 
Author Message
Mr. Wilco Terink

Subject: Deleting a node using Python   
Posted: 8/16/2018 Viewed: 3786 times
Hi,

Using Python to control the WEAP API I can add nodes automatically. However, it seems deleting a node through Python is not an option? Or is it? If it is possible, what's the python cmd then?
Mr. Jack Sieber

Subject: Re: Deleting a node using Python   
Posted: 8/24/2018 Viewed: 3766 times
The new version of WEAP released yesterday (2018.1) now includes an API method for deleting a branch, and this should work with Python.

In WEAP go to Help, Check for New Version to get the update. If for some reason that doesn't work, go to http://www.weap21.org/Download to download it.

Jack

Mr. Wilco Terink

Subject: Re: Deleting a node using Python   
Posted: 9/3/2018 Viewed: 3751 times
Hi Jack,

Thanks. It works.

Cheers,
Wilco
Topic "Deleting a node using Python"