Message 1 of 2
How to use Diesel expression for part of file name for title block attribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I currently have the title blocks for the company that I work for set up with diesel expressions to use the file name for attributes for the filename and drawing number.
Our filename template is XXXXXX-ZZZEPP.DWG.
XXXXXX is the drawing
-ZZZ is the sub-assembly
ans PP Is the sheet number (E stands for electrical)
The diesel expression I am using to get the drawing number is $(substr,$(getvar,"dwgname"),1,$(-,$(strlen,$(getvar,"dwgname")),7))
I need a diesel expression for the sheet number attribute from the file name, which would be characters 12-13 of 17 total.
Any help is appreciated