Author Topic: How to split the filename by removing the initial numbering  (Read 1866 times)

0 Members and 1 Guest are viewing this topic.

Cyberlacs

  • Guest
How to split the filename by removing the initial numbering
« on: October 22, 2018, 12:25:10 PM »
In my projects I use the Sheet Set feature and used in the file names a prefixed number along with the project name, as an example below

1 INTEGRATED MANAGEMENT SITUATION PLANT

I need to extract

A field with number = 1
and another field with only the name without the .dwg = INTEGRATED MANAGEMENT SITUATION PLANT

Well so besides starting to study Diesel script use in a useful application for me.

 

I'm waiting

ronjonp

  • Needs a day job
  • Posts: 7526
Re: How to split the filename by removing the initial numbering
« Reply #1 on: October 22, 2018, 12:46:46 PM »
Use the number and sheet title as designed for sheet set manager then link the title with the field: %<\AcSm Sheet.Title>% and the number with: %<\AcSm Sheet.Number>%

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2123
  • class keyThumper<T>:ILazy<T>
Re: How to split the filename by removing the initial numbering
« Reply #2 on: October 23, 2018, 05:52:38 PM »
Cyberlacs,
I have removed the duplicates of your post. Please take a little more care in future.
Thanks.
Regards,
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.