Jump to content
The Buzzard

Just a dumb text bracket code.

Recommended Posts

The Buzzard

Hello Everyone,

 

I am not sure this is of any use to you all, But I wanted to keep this thread simple. The attached code creates text brackets as pictured in the image. I have two codes posted, One for imperial units TBI and one for metric units TBM. There is an area at the beginning of the code for you to adjust your layer and font style. This code also has an error trap so that you do not create the bracket too small to avoid a deformed bracket drawn. There is minimum input required to operate it. You can enter the text you wish.

 

Enjoy the code.

 

For code loading instructions, See this thread: http://www.cadtutor.net/forum/showthread.php?1390-How-to-use-the-LISP-routines-in-this-archive

 

The User Default function.

;
; F02 - User Defaults.
;
(defun TBI_UD ()
 (setq LN  "TEXT"                     ;Change layer name here.
       LC   6                         ;Change layer color here.
       LT  "Continuous"               ;Change layer linetype here.
       FSN "ARIAL-1.0"                ;Change font style name here.
       FWF  1.0                       ;Change font width factor here.
       FOA  0.0                       ;Change font obliquing angle here.
       FFN "Arial.ttf"                ;Change full font name here.
       BFN "")                        ;Change big font name here.
 (TBI_MF)
 (princ))
;

Document1.JPG

Document2.JPG

Document3.JPG

Document4.jpg

TBI.zip

TBM.zip

Edited by The Buzzard

Share this post


Link to post
Share on other sites
Lt Dan's legs

Very nice!

Share this post


Link to post
Share on other sites
The Buzzard
Very nice!

 

Why thats Lt. Dan!

 

I am just little bit surpised to get a responce especially for this code. I posted a much kooler code a couple of days ago and never heard a thing.

 

But Thanks

Its always appreciated.

Share this post


Link to post
Share on other sites
Lt Dan's legs

I just got back from my vacation yesterday. I'll have to check the other one out. I know someone that could use this and plan on passing it on.

Share this post


Link to post
Share on other sites
BlackBox
Why thats Lt. Dan!

 

 

Oooo... soorry, soorry.

 

Sadly, it's just his legs. I'm affraid you've not won today's 'Daily Double'. :P

Share this post


Link to post
Share on other sites
The Buzzard
Oooo... soorry, soorry.

 

Sadly, it's just his legs. I'm affraid you've not won today's 'Daily Double'. :P

 

So, do you want the leg or the wing?

Share this post


Link to post
Share on other sites
Lt Dan's legs

Magic legs works too :lol:

Share this post


Link to post
Share on other sites
BlackBox

Hilarious. Cheers! :beer:

Share this post


Link to post
Share on other sites
The Buzzard
I just got back from my vacation yesterday. I'll have to check the other one out. I know someone that could use this and plan on passing it on.

 

So I guess you noticed there are instructions in the code header. Not that they are really needed. Thought I would mention it anyway.

Share this post


Link to post
Share on other sites
Lt Dan's legs

I figured it out. Works great!

Share this post


Link to post
Share on other sites
The Buzzard
I figured it out. Works great!

 

Thats good news. The program is well documented if you need to make adjustments. If there are any issues or any changes needed please let me know.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×