Your search returned 52 items.
For this tasks you should use the AddCopy() method. For more information on this method refer to our Python technical reference. Example: import powerfactory app=powerfactory.GetApplication() user=…
To create some objects (in your case object of the class IntCase) you should use CreateObject() method.  object.CreateObject (string ClassName [, string NameOfTheNewCreatedObject])  Creates…
For Python, a PowerFactory DPL script (ComDPL) is an object as any other Com* objects (e.g. ComLdf- LoadFlow or ComShc-ShortCircuit,…). You just have to define a variable that represents the ComDpl…
To access an Folder inside of your PowerFactory project you can use GetProjectFolder() method. As input to this method you can just write type of the Folder you would like to access (e.g. ‘scen’…
Define a variable that contains a generator object and use CreateObject() method on it. It is assumed, that there are already characteristics available in the corresponding subfolder of the…
Coding directly in Python Shell is quite similar as writing a Python script in PowerFactory. Only difference is that you have to append the system path so that Python would be able to find…
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…
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…
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…
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",…