Your search returned 39 items.
Data can be applied from one scenario is another via script using the ApplySelective() method. For example: Scenario.ApplySelective(1, folder) "Scenario" is the IntScenario object that contains…
For this task of importing and exporting of projects, you can use CompfdImport and CompfdExport command objects. Python example of importing a PowerFactory pfd project direct under user location:…
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…
Depending on the Scripting language that you are using there are two different approaches: 1) Python: Here you just have to prepare a Python list of values and assign it to a parameter of interest.…
The environment chapter in the scripting references is dedicated to performance increase of scripts. For example, when executing Python scripts from within PowerFactory, there is the possibility to…
There is a way of closing the PowerFactory application in Python without closing the Python In this case you can open PowerFactory by using „app = powerfactory.GetApplicationExt()“ and later on just…
In the dialog of branch elements such as lines (class ElmLne) the connected terminals are displayed in red color. The same information is displayed in Data Manager as columns "Terminal i",…
You can access to Microsoft Word by Python scripts if the “Python for Windows Extensions" PyWin32 (http://sourceforge.net/projects/pywin32/) package is installed, which includes Win32 API, COM…
If an error message appears when importing the powerfactory module stating “ DLL load failed: the specified module could not be found”, this means that Microsoft Visual C++ Redistributable…
The recommended IDE for debugging is Eclipse (www.eclipse.org) with the Python add-on PyDev (www.pydev.org). Both Eclipse and PyDev are open source and can be downloaded form official…