Windows File Browser / Folder Browser Objects

I know there is a File Browser object in PML, but is there a folder browser object ?

Thanks

Parents
  • Hello, there is a PMLFolderBrowser object similar to the PML File Browser.
    However, I cannot find any published documentation where PMLFolderBrowser is described.
    I remember PMLFolderBrowser has a .show() method and a selectedPath() method. Example code below:

    !folderBrowser = object PMLFolderBrowser()
    !folderBrowser.show('The text here will appear on the title of the Folder Browser dialog',true)
    !folderPath = !folder.Browser.selectedPath()
    q var !folderPath

    There must be some default AVEVA forms that have a folder picker button that you can check the PML code..
    Sorry I don't have access to a computer with E3D right now in my current job and I am still trying to switch back to a piping/E3D job.

Reply
  • Hello, there is a PMLFolderBrowser object similar to the PML File Browser.
    However, I cannot find any published documentation where PMLFolderBrowser is described.
    I remember PMLFolderBrowser has a .show() method and a selectedPath() method. Example code below:

    !folderBrowser = object PMLFolderBrowser()
    !folderBrowser.show('The text here will appear on the title of the Folder Browser dialog',true)
    !folderPath = !folder.Browser.selectedPath()
    q var !folderPath

    There must be some default AVEVA forms that have a folder picker button that you can check the PML code..
    Sorry I don't have access to a computer with E3D right now in my current job and I am still trying to switch back to a piping/E3D job.

Children