Jump to content

Recommended Posts

Posted

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

 

Posted

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\

 

  • Like 1

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...