- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Currently the way my company drafts is purely in model space. We have an elevation block that we place in plan and elevation views and then change two attributes, elevation letter and page number. It gets really tedious changing all the page numbers on all the elevation markers since you sometimes have 3 for each elevation (one on plan view, one or adjacent elevations).
This might be tricky, but my idea is to have a lisp that changes the page number attribute on the elevation marker to the page number the elevation tag is on, which isn't in the same page most of the time.
There are four different blocks that this lisp would reference; Elevation marker, elevation tag, elevation tag AA-ZZ, and title block. If possible i would like to also reference a specific style of text.
The way i'm thinking lisp would work is it would prompt the user to select all of the title blocks containing the plan and elevation views. The lisp would then look for all of the elevation tags (and specific style of text) and keep a list of what elevation letter is on what title block page number. It would then search for the corresponding elevation marker and change the page number attribute to match the corresponding title block page number that the elevation tag is on.
The requirements for the lisp to work properly would be that every elevation tag and marker has to be placed and have the correct elevation letter typed in, they would all have to be placed in title blocks, and all the title blocks have to be numbered. A few problems I see with this that could mess it up is if there are two of the same elevation tags, there are no elevation markers to match to a elevation tag or two title blocks with the same page number. For this i would just like an error message saying something like 'there are duplicate page number(s)/elevation letter(s)', and if its not too much to ask to list the page numbers or elevation letters. A few other problems i see with coding is we scale up or down our title blocks to fit the content that is inside, just being able to identify what title block the elevation tag is on, and identifying what is an elevation letter since it could be just text with some custom elevation letter like 1.A or AB.1, or 1A, etc.
I've attached a file that has the blocks and text and an expample. Thanks.
Solved! Go to Solution.