Programmatically Modify the Drawing Number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I've built a script using Python to parse the WDP file, allowing me to change the sheet descriptions, folder structure, and sheet sections. Sadly, the Drawing Number (%D) often used in our Title Blocks is not accessibly via this WDP file. From what I gather, it's included in the proprietary DWG format.
I would like to develop a tool to go through each drawing in my project and change the drawing number (%D) to the filename of that drawing. For example, if a drawing filename is "18500-55-100.dwg", then I want the %D value to be "18500-55-100".
Do I need to do this in Lisp, or VBA? I have more familiarity with VBA, but only within the context Microsoft Excel so I would need lots of supporting information.
I have absolutely zero experience with Lisp, or any functional programming for that matter. If it needs to be done in Lisp any supporting information (like implementation within AutoCAD, syntax, code examples, etc.) would be extremely appreciated!
Let me know if you need any more information.