- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi I'm new to Lisp programming but I need to tidy up 1,000s of CAD files in my new job.
I'm trying to go into each drawing and copy the drawing number then Save the filename as the drawing number
Theres a number of obstacles to this.
First theres no fields or attributes in the title block. Everything is MText.
Second the drawings were done in China so although the Drawing number is in English characters, when you click into the text properties its formatted in Fang Song script/style.
I did a simple SSget command, it cannot read the text due to the Fang Song style written in the contents box before the drawing number. If I explode the text to remove the formatting, hidden text behind the drawing number becomes visible and things become a mess.
Finally if I get that to work I still have the issue of saving the file then opening the next file and running the script again. I want to automate that to run for lots of files.
I've attached a drawing I'm working from and a screenshot of the contents box for clarity.
Thanks in advance for any help!
Solved! Go to Solution.