- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I have a corner stamp block "PageHeader" in each separate DWG drawing (per 1 sheet) with the existing attribute "TOTAL", in which I need to read the total number of related sheets in the same directory (all DWG files in the same directory) and write it in this attribute after creating all the drawings. I don't know in advance how many sheets there will be in total, because this is a manual creation.
Example:
1234-XXX-001_Sheet_1.dwg
1234-XXX-001_Sheet_2.dwg
...
...
1234-XXX-001_Sheet_12.dwg
1234-XXX-001_Sheet_13.dwg
Total amount of sheets: 13 -> write this value in 13 separate DWGs / each corner stamp block / each specified attribute
Is there a LISP that can do this? Does each file have to be opened separately for this or can it be done directly from any opened file for all other files?
Many thanks in advance and have a nice day
+++ the only constant is the change +++ stay tuned for more +++
+++ since 03/2023 is Advance Steel in maintenance mode, no further development +++
Solved! Go to Solution.