Ask Your Question

the--duke's profile - activity

2021-10-20 01:54:51 -0500 received badge  Famous Question (source)
2020-11-16 10:05:35 -0500 received badge  Notable Question (source)
2020-11-16 07:59:03 -0500 received badge  Popular Question (source)
2020-11-16 02:49:30 -0500 answered a question Read keyboard input directly in progress window, not terminal read

I tried to suppress the prompt output (I/O control -> ODEV -> Suppress output or psspy.prompt_output(6,"",[0,0])) but whenever I tried to input something, either by using raw_input() or by using psspy.userin(), the 'Terminal Read' window still popped up. I believe this is the only way to reach to this window by the user's actions, so I don't think there is any other immediate way of suppressing it. Thus, I don't think it's possible to avoid the window at all.

I will try to work around it whenever I have time, by printing the requests to the progress window, then trying to reach the CLI Input without executing it, and then importing it to the desired variable. I shall return to report if I ever manage to do it or find any other way around it.

2020-11-16 02:48:59 -0500 answered a question Removing "Terminal Read" on PSSE. User input on output bar

I tried to suppress the prompt output (I/O control -> ODEV -> Suppress output or psspy.prompt_output(6,"",[0,0])) but whenever I tried to input something, either by using raw_input() or by using psspy.userin(), the 'Terminal Read' window still popped up. I believe this is the only way to reach to this window by the user's actions, so I don't think there is any other immediate way of suppressing it. Thus, I don't think it's possible to avoid the window at all.

I will try to work around it whenever I have time, by printing the requests to the progress window, then trying to reach the CLI Input without executing it, and then importing it to the desired variable. I shall return to report if I ever manage to do it or find any other way around it.

2020-11-16 02:42:30 -0500 received badge  Editor (source)
2020-11-16 02:40:30 -0500 answered a question Removing "Terminal Read" on PSSE. User input on output bar

I tried to suppress the prompt output (I/O control -> ODEV -> Suppress output or psspy.prompt_output(6,"",[0,0])) but whenever I tried to input something, either by using raw_input() or by using psspy.userin(), the 'Terminal Read' window still popped up. I believe this is the only way to reach to this window by the user's actions, so I don't think there is any other immediate way of suppressing it. Thus, I don't think it's possible to avoid the window at all.

I will try to work around it whenever I have time, by printing the requests to the progress window, then trying to reach the CLI Input without executing it, and then importing it to the desired variable. I shall return to report if I ever manage to do it or find any other way around it.

2020-11-13 02:51:41 -0500 received badge  Enthusiast
2020-11-09 06:39:35 -0500 asked a question PSSARRAYS vs PSSACCSS

Hello everyone

On your opinion, which one should I prefer, pssarrays or pssaccss?

The PSSE Documentation for pssaccss states "In some situations these APIs are faster than the APIs in the pssarrays module since they deal with smaller ammounts of data."

I don't really know what that means. I want to know more about what YOU prefer to use.

I have practically no experience with either, so I actually want to know where to start-off or and on which one to focus. What is your go-to choice?

Thanks

2020-10-29 08:00:38 -0500 answered a question Automated sld to pdf printing

You can do it indirectly by changing your printer

step 1 Download a pdf printing software that allows hiding the dialog windows

step 2 (this has to be done only once) Find the printer settings and set a default name and location for your pdfs, either (a) as default or (b) using macros that can be handled by your python script (i prefer to have a default name and change it later within the script) Also suppress all dialog and error boxes

step 3 Use psspy.printdiagfile('your-printer',#copies,orientation) This should print your sld with the default printer settings

step 4 locate the pdf using python and change the name and location to whatever you want [option (a) of step 2] OR modify your python code such that it is compatible with the printer's macros [option (b) of step 2]

step 5 repeat until the last case

it should work