answered Feb 22 '18
You can record the functionality using PSSE GUI and then modify it for your case.