0

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

  • retag add tags

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.

mit0110's avatar
1
mit0110
asked 2016-09-17 22:26:15 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

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.

perolofl's avatar
3.8k
perolofl
answered 2016-09-19 05:55:56 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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)

KTBZ's avatar
1
KTBZ
answered 2024-06-14 04:01:30 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer