
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
In my day to day work, I am constantly drawing aligned dimensions across a slab (or any shape) and then replacing the dimension number with multiline text. There are basically 4-5 types of slab we use and each has its own specs. An example of this would be:
120 RC SLAB
SL82 CENTRAL MESH
F'c=32 MPa
So the above would be centered mline text. I keep these little notes in each drawing, so after I draw the aligned dimension, click into the required note, highlight all, copy, return to dimension and paste the text over the number. Thought ther must be a better way and so after much googling I found:
https://www.cadtutor.net/forum/topic/23429-autotext-edit-for-dimension-text/
Theres a routine there written by Lee Mac that does the exact thing I want except it can only handle single line text. I guess you'll have to be a member to see the code and I wasn't sure on the rules about copying and pasting from another site/forum. Please let me know if it is okay to do this and I'll add it. Have attached his Lisp file here.
I also found:
http://www.theswamp.org/index.php?topic=1392.0
Here there was a lisp routine called "TextInsert" and came with accompanying .dcl files that could be edited to hold the text a user wanted to deploy. Have included these in the attachments
This lisp allows you to click anywhere and insert a predetermined block of text. This one can do mline but it doesn't replace the dimension text; simply places the selected block of text over it.
Also downloaded "DimNotes" from JTB World. Again, close but no cigar - single line text only.
I feel like between the three sources I've mentioned it may not be too hard for someone to cobble together a tool that could replace the default dimension measurement number with a selected block of mline text..? Perhaps like the others mentioned above, the text could be stored and edited in a seperate data/text file..?
Please let me know if any of you require me to copy and paste the code from the other sites to help you and if that is allowed here.
Thanks for reading guys.
Solved! Go to Solution.