Your search returned 6 items.
Graphics such as plots or single line diagrams can be exported using scripts. PowerFactory supports two scripting languages Python and DPL. The following Python script example exports all plots and…
Tags
The attached zip file includes a small project having a Python command predefined, which must be linked to the Python script included. The script will do the following tasks:- Prepare the initial…
In PowerFactory 2021 a new plot framework was introduced. The old classes for pages (SetVipage) and plots (VisPlot, Vis..) were retired and new, more advanced, classes are now avaiable and the new…
There are two ways of exporting shown plots using Python: By using the command object ComWr (for emf, svg, pdf, png, jpg, wmf, ...) By using the WriteWMF() method on SetDesktop (Graphics Board) Both…
Tags
To plot the values of a variable used in a Python script, you must first save the values of the variable in a result file (ElmRes). For this, define result parameters on the "Result" page of your…
Changing the colour, line style or elements in an existing plot via Python can be done by modifying the Data Series object of a plot. The Data Series object contains the information for all shown…