I have read lots of posts and can't be able to do what I want.
I'm using DOORS 9.5
My goal is to execute a script at doors startup, which uses GUI functions. I have tried 2 different ways without success.
1/ To run with command line -D "#include <test.dxl>" but I have the following error:
-E- DXL: <addins/TWEXP/include/parastyl.inc:39> (AParaStyle_) already declared in this scope
Included from: <addins/TWEXP/include/batch.inc:32>
If I put the following code : #include <test.dxl> (the same given as parameter on the command line) in the DXL interaction window and click on RUN it works.
Any idea ?
2/ I was trying to execute it from C#:
using DOORSCOMLib;
DOORSCOMLib.DOORS x = new DOORSCOMLib.DOORS();
But I read here: https://jazz.net/dxl/html/522%20-%20Getting%20Requirements%20from%20Module%20with%20C.html that the DOORSCOMLib should come with the installation of DOORS.
I can't find it. And I don't know how to link it to my C# script (I have never done any C# but it seems to be a good way to execute DXL scripts on a running DOORS instance.)
Best regards, Cédric