Python import_native in folder

kamal
2022-09-02
2022-09-12
  • kamal - 2022-09-02

    How to import pou in folder using python script. I am able to import them in in pou section but on a folder how to do it .is there any method to move objects from one folder to other folder

     

    Last edit: kamal 2022-09-02
  • tvm - 2022-09-12
    activeapp = proj.active_application
    folder = activeapp.find('Folder Name', recursive = True)[0]
    folder.import_xml(reporter, filename)
    -OR-
    folder.create_pou("POU Name")
    
     

Log in to post a comment.