Project explorer Variable Configuration links.

I am trying to create a configuration variable link in Project explorer that points to a file one up from where my Dgn is found.

I have created a variable

A_WORKINGFILES = $(PARENTDIR(_DGNDIR))WORKING FILES

this works as expected with MS_REF_DEFAULTATTACHDIRECTORY = $(A_WORKINGFILES)

My problem is when I try to use A_WORKINGFILES in PE, the link fails to harvest.

How can I go one directory up in PE.

Adrian.

Parents
  • Hi Adrian,

    Apologize for getting back late on this. Are you still looking for an answer to this requirement?
    Please refer to this blog: Advanced Project Explorer - Configuration Variable Links

    Following is what I tried and it works. Please provide additional details if your requirement is different.

    If my current design file is in the following folder
    D:\TSG Daily Folder\PE\A.dgn
    Where is your WORKING FILES folder located? (Your requirement)
    D:\TSG Daily Folder\PE\WORKING FILES\
    OR
    D:\TSG Daily Folder\WORKING FILES\


    To get this value D:\TSG Daily Folder\PE\WORKING FILES\
    Configuration variable definition would be as follows
    A_WORKINGFILES = $ (_DGNDIR))WORKING FILES\

    To get this value D:\TSG Daily Folder\WORKING FILES\
    Configuration variable definition would be as follows
    A_WORKINGFILES = $(parentdevdir(_DGNDIR))WORKING FILES\

    Custom configuration variable link definition

    Regards,
    Leonard Jones.

          

Reply
  • Hi Adrian,

    Apologize for getting back late on this. Are you still looking for an answer to this requirement?
    Please refer to this blog: Advanced Project Explorer - Configuration Variable Links

    Following is what I tried and it works. Please provide additional details if your requirement is different.

    If my current design file is in the following folder
    D:\TSG Daily Folder\PE\A.dgn
    Where is your WORKING FILES folder located? (Your requirement)
    D:\TSG Daily Folder\PE\WORKING FILES\
    OR
    D:\TSG Daily Folder\WORKING FILES\


    To get this value D:\TSG Daily Folder\PE\WORKING FILES\
    Configuration variable definition would be as follows
    A_WORKINGFILES = $ (_DGNDIR))WORKING FILES\

    To get this value D:\TSG Daily Folder\WORKING FILES\
    Configuration variable definition would be as follows
    A_WORKINGFILES = $(parentdevdir(_DGNDIR))WORKING FILES\

    Custom configuration variable link definition

    Regards,
    Leonard Jones.

          

Children
No Data