Change custom tool?
I use PSS/E 30.2, Menu Tools/Customize/Commands have 30 Custom Tool. How can I programme them or how can I create a command button in Menubar.
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
I use PSS/E 30.2, Menu Tools/Customize/Commands have 30 Custom Tool. How can I programme them or how can I create a command button in Menubar.
For v34 the location of the menu option has moved around, it can be found under Windows -> Customize Toolbar Buttons
You can associate a button with a batch command, python script or IPLAN script, etc by going to Tools > Custom Toolbar Buttons ....
In the pop up menu you can choose any of the numbered tool buttons, give the appropriate file type and the path of the file type. You may also associate with the button a display text. Click CLOSE and you are done. You will find your numbered tool button in the toolbar is now enabled.
Hope that helps.
Thank @amaity! But I can't "give the appropriate file type and the path of the file type". Tool 1 is open .sav file and .sld file, Tool 2 is solve and report, Tool 3 --> Tool 30 is custom but I don't know how to change them.
Unfortunately, the answer @amaity gives only works in version 32 so far as I know.
To create custom toolbar buttons in version 30, you have to edit an ini file located at C:\WINDOWS\psse30.ini. Per the documentation in section 2.17.2 of the user's manual (page 2-92), commands look like this:
[Custom Definitions]
CUSTOM_BUTTON_1 = PYTHON,'C:\Program Files\PTI\PSSE30\EXAMPLE\OpenCase.py','(tooltip text) Open
savnw network and diagram '
CUSTOM_BUTTON_2 = RESPONSE,'C:\Program
Files\PTI\PSSE30\EXAMPLE\RunSolutAndReport.idv','Run solution and report'
Great, that's just as I expected! Many thanks @jsexauer!
Nice! Tks all.
Asked: 2013-09-14 05:06:30 -0600
Seen: 2,643 times
Last updated: Jan 25 '23