Author Topic: Text Box Routine  (Read 13720 times)

0 Members and 1 Guest are viewing this topic.

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: Text Box Routine
« Reply #30 on: December 16, 2012, 01:28:53 PM »
CAB,

Wondering if there is a reason for not utilizing a single slide library file, instead of individual slides.  Not being critical of your work, just seeing if you know of any drawbacks using a  Library file.

Bruce

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Text Box Routine
« Reply #31 on: December 16, 2012, 02:50:34 PM »
No reason other than I view this lisp as a work in progress.
Just never finished it.  :-)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

MeasureUp

  • Bull Frog
  • Posts: 465
Re: Text Box Routine
« Reply #32 on: December 17, 2012, 11:45:12 PM »
Hi CAB,
Thanks for sharing your favourite.
I like this, too.
Just one thing I found, the "plinewid" should reset to "0" after a heavy (line) box is drawn.
It will drawing cloud box with heavy line latter, otherwise.

Also, I cannot see previews in the dialog for:
1) Fileted Retangle - Drop Shadow
2) Frame
3) Frame Shadow
4) Cloud

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Text Box Routine
« Reply #33 on: December 18, 2012, 09:10:07 AM »
Thanks for the feed back.  :-)

Corrected the width error & added the missing slides.
See post one for the updated zip file.

I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

MeasureUp

  • Bull Frog
  • Posts: 465
Re: Text Box Routine
« Reply #34 on: December 18, 2012, 11:23:18 PM »
Sorry CAB, I cannot found the zip file but the lsp file in your 1st post.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Text Box Routine
« Reply #35 on: December 19, 2012, 08:59:29 AM »
In my haste I grabbed the wrong file.  :oops:
It is there now.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Xran

  • Guest
Re: Text Box Routine
« Reply #36 on: December 21, 2012, 03:43:00 AM »
my dtext bbox code:
Code - Auto/Visual Lisp: [Select]
  1. (setvar "UCSICON" 0)
  2. (command "ucs" "s" "temp")
  3. (setq ent (car (entsel "\nget a dtext object:")))
  4. (command "ucs" "e" ent)
  5. (setq bbox (textbox (entget ent))
  6.          pt1 (car bbox)
  7.          pt3 (cadr bbox)
  8. )
  9. ;;;here cal pt2 pt4
  10. (command "ucs" "r" "temp")
  11. (setvar "ucsicon" 1)
  12.  

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Text Box Routine
« Reply #37 on: December 21, 2012, 07:39:51 AM »
Good first effort.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

nobody

  • Swamp Rat
  • Posts: 861
  • .net stuff
Re: Text Box Routine
« Reply #38 on: February 18, 2013, 04:06:03 AM »
Cool stuff CAB!

If anyone has any suggestions or comments please do.
Excuse the messy lisp, work in progress you know.
It will create the boxes shown in the picture.
It supports mtext and dtext, rotated or not & UCS other that world.
It supports groups of dtext.
The selection method for the type of box is command line at this time but
may go to a dialog box or image menu in the future.
I use DimScale to determine the offset of the box. This does not give the
proper gap while in paper space, so I'll have to work on that. I could use
some suggestions here as I don't normally place text in paper space.
<update to v2.5 12/18/12>   Bug fix to 12/14/12 version.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Text Box Routine
« Reply #39 on: February 18, 2013, 08:43:29 AM »
Thanks   8-)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.