Mark_ATCW Posted March 19, 2021 Share Posted March 19, 2021 Hi There, I'm want to add a field category to the drawing as text but instead of showing the entire path to the drawing i just want to show the path to the project task level. I can add the file path to the drawing location using this field expression: %<\AcVar Filename \f "%tc3%fn1">% But it shows the entire path to where the drawing is saved: M:\Projects\111\111326\21 Temp project\CADD\Cad\ But i dont want all that, I just want to show to project task level: M:\Projects\111\111326\21 Temp project\ Or even better still if I could have this text written to where I'm going to save the PDF: M:\Projects\111\111326\21 Temp project\CADD\Cad\PDF\ I know this pretty much cant happen Thanks for you help in advance. Regards, Mark Quote Link to comment Share on other sites More sharing options...
SLW210 Posted March 19, 2021 Share Posted March 19, 2021 Use a Field with DIESEL. For the first use this and adjust the last number to show what you want. $(substr,$(getvar,"dwgprefix"),1,$(-,$(strlen,$(getvar,"dwgprefix")),9)) For the last example use this.... $(getvar,"dwgprefix")PDF\ 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.