Relative Network Path

I have some scripts which are loaded in the addins folder. I want to be able to use #include to add other files through their relative path (Example: #include <someFolder/Some> or <../../SomeOtherFolder/SomeScript>, however when I try to load files from network I cannot use their relative paths.


camba - Mon Nov 27 11:29:35 EST 2017

Re: Relative Network Path
Richard_Good - Thu Nov 30 14:28:32 EST 2017

Its possible to have some addins on the network and use a path relevant to that. Look up command line parameters in the help. If you add a -a switch to a DOORS shortcut with for example

....doors.exe -a h:\cambasDirectory\DoorsStuff (with h mapping to a network drive) and a file  h:\cambasDirectory\DoorsStuff\addins\mycode.dxl you can refer to that file using

 

#include <addins/mycode.dxl >

 

I think that's the best you can do.

 

Richard