Jump to content

Just a dumb text bracket code.


The Buzzard

Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...