Reference Templates - Relative Path Kind of Work? (2020.2)

Reference Templates - Relative Path Kind of Work? (2020.2)

Anonymous
Not applicable
595 Views
3 Replies
Message 1 of 4

Reference Templates - Relative Path Kind of Work? (2020.2)

Anonymous
Not applicable

I'm putting these together and wanted to change the path from absolute to relative.  It works for relative paths in the same folder, and for relative paths to a folder "below" the current file.  But I can't get it to go "above" the current file.  Anyone experience the same or found a solution?

 

Same level works when I do this --> .\file.dwt

Below level works when I do this --> .\folder\file.dwt

Above level DOES NOT work when I do this --> ..\folder\file.dwt

 

I get an error message that says "The template is invalid, could not update existing reference source".  I've tried multiple files and get the same error.

0 Likes
596 Views
3 Replies
Replies (3)
Message 2 of 4

ricksr
Advocate
Advocate

I have a fair amount of experience with reference templates.  I'm not real clear what you are trying to do with relative vs absolute pathing.  Let me look into this and get back to you on Monday.  In the mean time could you clarify what you are trying to accomplish?

0 Likes
Message 3 of 4

Anonymous
Not applicable

We are going to deploy the reference templates in multiple offices with different local network configurations.  In one office it might be on a X:\ drive letter and in another office it will be M:\.  So if the reference templates can be linked via relative path instead of absolute path like they come in by default, it would be more flexible.  We can copy them anywhere and they'll work.  Right now if we copy them, the absolute path gets broken.

 

 

0 Likes
Message 4 of 4

ricksr
Advocate
Advocate

I looked into it and it appears that relative pathing is currently not possible with reference templates.  It is a good idea and I posted it to the Civil 3D Idea forum.  You should also post as an idea, to give it a bit more priority and show popularity.

 

https://forums.autodesk.com/t5/civil-3d-ideas/idb-p/31

 

0 Likes