- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
My organization has encountered a client that requires us to use their standard titleblocks. The client requires us to fill in their revision attributes in reverse order starting with the top line. This means with every new revision we have to first copy each of the attributes down one revision line before we can add the new revision. With the size of drawing package and number of revisions we have, the amount of time required to add a single revision is getting out of hand. The reason we are sticking with the attributes is our clients filing database software reads those attibutes into their filing system, so we can't mess with the titleblocks.
I myself tried to build a LISP routine using code from Lee Mac's website, and various posts and tutorials around the internet. But I never ended up with something that works or that even begins to do what I want it to.
So in frustration, I am asking for help getting started on a new LISP. If I have a drawing with only one tab that has a single titleblock that is always named "Client DWG Border", how do I recursively copy the contents of an attribute named "RevSlot4Number" into "RevSlot5Number", from slot 3 to slot 4, from slot 2 to slot 3 etc?
I had been trying to use (setq revSlotNoRead (strcat "RevSlot" (itoa lineNo) "Number")) to build a string in a loop (where lineNo started at 99 and decreased each time it looped) that would then be compared to the attributes in the titleblock and read the contents into a variable that would then be written into the next line. But it never worked.
There are other attributes named "RevSlot1JobNumber", "RevSlot1Description", etc. but I'm sure once I can get one column automatically copying down one line, then I can just repeat the same code for the rest of the attributes.
Thanks,
j.com
Solved! Go to Solution.