Skip to main content
1-Visitor
Jun 27, 2011 2:26 PM UTC
Question

Open File in Epic Programmatically

Hello Everyone,
I work on Epic 5.4 and I am a beginner, I want to open local file programmatically with the ACL functions.
I want to know if anyone has an example of this kind.
I would be RECOGNIZING if someone can help me

cordially

    1 reply

    1-Visitor
    Jul 21, 2011 7:54 PM UTC

    Two possible options:

    (1) From a windows command prompt:

    epic.exe "your_report.sgm"

    (2) In ACL. (From Jason Buss - http://communities.ptc.com/message/16512#16512 )

    Define the file name in a variable: $file = "C:\\file\\myfile.xml";

    call: edit -newwindow $file

    - Mark

    Translate