Ask Your Question
0

How to automatic update file sld when the bus number in file sav changing

asked 2016-09-17 22:26:15 -0600

mit0110 gravatar image

Hi everyone. I have a file SLD with the database of a file .sav. When I change the bus number in file .sav, file sld become unbound. So I must redraw it. I would like to PSSE automatic update this file SLD when the database change. Thank all.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2024-06-14 04:01:30 -0600

KTBZ gravatar image

When changing the bus number with the python API, you need to use the following function:

renumdiagfile(trnfile)

where the trnfile is a text file in the form:

OLDBUSNUMBER, NEWBUSNUMBER

Eventually, you shall save the file. These other two functions may be of useful:

opendiagfile(sfile) savediagfile(sfile)

edit flag offensive delete link more
0

answered 2016-09-19 05:55:56 -0600

perolofl gravatar image

It's easy. All SLD's that are opened will automatically be updated when you change the bus number in file .sav. You have to save the diagram afterwards.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2016-09-17 22:26:15 -0600

Seen: 977 times

Last updated: Jun 14