I have been using the variable [MS_PLTFILES = $(_DGNDIR)03-DRAFTING COMPLETED] to place my print output file in a folder in my Drawings directory.
My supervisor wants to changed this location to be in a different sub-folder in the same project tree.
Is there a variable that would take my root project folder name [Project Set-up Template] and create a path to the new folder location?
I would entertain some vba coding if that could resolve the issue.
I am including a picture of the Project Folder tree to illustrate what I am trying to accomplish.
The project folder name [Project Set-up Template] changes from project to project.
The old path is:
C:\Client Folder\[Project Set-up Template]\Drawings\03-Drafting Completed\print.pdf
The new path needs to be
c:\Client Folder\[Project Set-up Template]\Tempref\03-Drafting Completed\print.pdf
Thanks.
MS_PLTFILES = parentdevdir ($(_DGNDIR))Tempref\03-Drafting Completed\
Hi Brian, this should work:
$(parentdevdir(_DGNDIR))Tempref\03 DRAFTING COMPLETED\
or alternatively, if you are using V8i, define the variable _USTN_PROJECTROOT within your project(s) PCF file (as I do)
$(_USTN_PROJECTROOT)Tempref\03 DRAFTING COMPLETED\
I also have this variable set in a CFG file: $(_USTN_PROJECTDATA) = $(_USTN_PROJECTROOT) therefore this also works:
$(_USTN_PROJECTDATA)Tempref\03 DRAFTING COMPLETED\
Answer Verified By: Brian MacCartney
How are you plotting your files? Are you using a pltcfg file?
Microstation CONNECT 10.17.00.209
ORD CONNECT 2021 R1 10.10.1.3
Microstation v8i SS 10 08.11.09.919
Power InRoads v8i 08.11.09.615
ProjectWise 10.0.3.453
This worked:
I apologize to everyone for not including my platform information Windows 10 64B CU14.
Thanks to everyone that responded with your suggestions and help.
Brian MacCartney
Senior Designer, Electrical
personally I set my prints to always go to C:\temp\pdf.. so I can always can find them; then in windows explorer I move them to where they need to go.. especially if its got to be on the network drives.. as printing to local C: drive is super fast compared to printing to network drives ...especially working from home during covid 19 lockdown via internet and vpn can be a real trial...
Lorys
Started msnt work 1990 - Retired Nov 2022 ( oh boy am I old )
But was long time user V8iss10 (8.11.09.919) dabbler CE update 16 (10.16.00.80)
MicroStation user since 1990 Melbourne Australia.click link to PM me