Jump to content

Help with custom FIELDS or diesel expression?


Recommended Posts

I want to put the Revisions of a file name in to my title block using FIELDS so it auto updates everytime I revise the drawing but i only want the last letter of the file name.

 

$(substr,$(getvar,dwgname),5,$(-,$(strlen,$(getvar,dwgname)),8))

 

I have been using this but my file names vary according to project names, is there a simpler way to just get the last letter of every file name?

Link to comment
Share on other sites

Thanks, but I googled abit more while waiting for a reply and found this expression that worked.

 

It is below for anyone else who might be searching for something similar.

 

$(substr,$(getvar,dwgname),$(-,$(strlen,$(getvar,dwgname)),4),1)

 

 

Edited by neuri
  • Like 1
Link to comment
Share on other sites

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...