My project has a filename that gets broken into smaller pieces in the border. I have figured out how to break it with a RTEXT Diesel script but need further assistance.
All filenames are in this order 207-003-001_000-01-R00.dwg
207 = Project #
003 = E designation (E3)
001 = tail end of the E series E3-(001)
000 = optional other end of the 001 E3-001/(005) example. Series 001 thru 005
01 = Page #
R00 = Revision #
Right now i have it broken down with diesel based on a substraction value. So everything will appear correct but only if they are single digits for the Revision and the E#.
Does anyone know how i can get a script to work for both of these filename types
207-003-001_000-01-R00.dwg - Would need to be E3-001 and the Revision is just 0
207-013-011_055-15-R11.dwg - Would need to be E13-011/055, Page 15 and the Revision is 11
They would each be seperate text entities so I could place them in the border correctly.
Thanks