Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to use the bus location file

Hello ! I am trying to improve the autodrawing method by using the .loc file (bus location file). I have built a nice diagram by hand and then I have exported the location of the buses to a .loc file using the API exportbuslocfile(), and then I have tried to replicate that neat diagram using the autodraw function, which I understand takes in account if a .loc file has been opened by the user using the API openbuslocfile(). The problem is, when I use autodraw to try and draw the diagram as I did by hand, it doesnt care about the .loc file I just opened, and it just draws the systeam as it would do normally (a f* mess). I also tried to use the code provided by rimux here https://psspy.org/psse-help-forum/question/579/can-we-create-a-single-line-diagramsld-from-raw-data-using-python/ but to no avail, its also quite messy, but not as much as before. Any solutions you have find to the autodraw problem ? thanks !

How to use the bus location file

Hello ! I am trying to improve the autodrawing method by using the .loc file (bus location file). I have built a nice diagram by hand and then I have exported the location of the buses to a .loc file using the API exportbuslocfile(), and then I have tried to replicate that neat diagram using the autodraw function, which I understand takes in account if a .loc file has been opened by the user using the API openbuslocfile(). The problem is, when I use autodraw to try and draw the diagram as I did by hand, it doesnt care about the .loc file I just opened, and it just draws the systeam as it would do normally (a f* mess). I also tried to use the code provided by rimux here https://psspy.org/psse-help-forum/question/579/can-we-create-a-single-line-diagramsld-from-raw-data-using-python/ but to no avail, its also quite messy, but not as much as before. Any solutions you have find to the autodraw problem ? thanks !