"app" object.Maybe you have to add the path of python lib of PF at the This means that object app is null and your code could not create a right I am facing this error, Can any one help how toĪttributeError: 'NoneType' object has no attribute 'GetCurrentUser' I am new to powerfactory module and trying to establish the connection b/w On Sun, at 10:28 PM amirhosseini20 commented on this gist. Shc_folder.CreateObject('EvtSwitch', 'evento de generacion') Įlmres = app.GetFromStud圜ase('Results.ElmRes')Įlmres.AddVars(terminal,'m:u','m:phiu','m:fehz')Ĭomres.f_name = r'C:\Users\jmmauricio\hola.txt' Syms = app.GetCalcRelevantObjects("*.ElmSym") Lines = app.GetCalcRelevantObjects("*.ElmTerm") Terminals = app.GetCalcRelevantObjects("*.ElmTerm") Shc_folder = app.GetFromStud圜ase('IntEvt') Project = app.ActivateProject("Nine Bus System")
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |