Author Topic: Editing TEXT OVERRIDE with AutoLISP  (Read 8920 times)

0 Members and 1 Guest are viewing this topic.

Eloquintet

  • Gator
  • Posts: 3206
Editing TEXT OVERRIDE with AutoLISP
« Reply #15 on: November 18, 2003, 12:12:58 PM »
ummm in answer the first question, this is more of a safeguard than anything just so a dimension might not getting selected by accident. i have tons of dims i'm dealing with, some of them are centered and some right and left justified to show up in details. in reply to the second question, the text files works great i was moreso responding to daron because i'm not familiar with vba. your setup is perfect  :D

dan
Dan

AutoCAD Architecture 2015

Mark

  • Custom Title
  • Seagull
  • Posts: 28685
Editing TEXT OVERRIDE with AutoLISP
« Reply #16 on: November 18, 2003, 12:41:53 PM »
Do you want an alert box if;
A) the dim HAS an override in place?

B) the dim does NOT have an override in place?

C) none, I hate alert boxes.
TheSwamp.org  (serving the CAD community since 2003)

Eloquintet

  • Gator
  • Posts: 3206
Editing TEXT OVERRIDE with AutoLISP
« Reply #17 on: November 18, 2003, 12:51:38 PM »
A) by the way check this out pretty funny:

www.kaiju.com (i'm going friday night)
Dan

AutoCAD Architecture 2015

Mark

  • Custom Title
  • Seagull
  • Posts: 28685
Editing TEXT OVERRIDE with AutoLISP
« Reply #18 on: November 19, 2003, 07:29:07 AM »
Well I thought about this app some more and I think we are going to change the look and options just a tad. I think this might be a good solution.



this will allow you to change the current override or select one from a list. Any thoughts on this Dan?
TheSwamp.org  (serving the CAD community since 2003)

Eloquintet

  • Gator
  • Posts: 3206
Editing TEXT OVERRIDE with AutoLISP
« Reply #19 on: November 19, 2003, 08:04:07 AM »
yes that looks good mark
Dan

AutoCAD Architecture 2015

daron

  • Guest
Editing TEXT OVERRIDE with AutoLISP
« Reply #20 on: November 19, 2003, 08:36:01 AM »
What's going in the Select Override pull down?

Eloquintet

  • Gator
  • Posts: 3206
Editing TEXT OVERRIDE with AutoLISP
« Reply #21 on: November 19, 2003, 08:47:36 AM »
various suffixes such as v.i.f., o.a., d.l.o. etc. etc. different suffixes i commonly use in my shop drawings.

dan
Dan

AutoCAD Architecture 2015

daron

  • Guest
Editing TEXT OVERRIDE with AutoLISP
« Reply #22 on: November 19, 2003, 08:50:41 AM »
What about one's not commonly used? Would you just write that into the current override and leave it at that?

Eloquintet

  • Gator
  • Posts: 3206
Editing TEXT OVERRIDE with AutoLISP
« Reply #23 on: November 19, 2003, 09:02:14 AM »
i want to make it easy to edit so i can add or remove different job specific suffixes as i need them too yes. that's why mark was using the txt file way i think so it's easy for me to do that.  :D

dan
Dan

AutoCAD Architecture 2015

CAB

  • Global Moderator
  • Seagull
  • Posts: 10365
Editing TEXT OVERRIDE with AutoLISP
« Reply #24 on: November 19, 2003, 09:05:09 AM »
How about a button "ADD to list" that was dimmed until you manually entered a value. If the entered data did not match anything in the "Common" list the button would become active and you could add it to the list.

CAB
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.

daron

  • Guest
Editing TEXT OVERRIDE with AutoLISP
« Reply #25 on: November 19, 2003, 09:05:46 AM »
So, what you're saying Dan, is the dcl generates a read-line of a text file and if you want to add a pre/suf-fix, you need to change the text file? That'll work, but wouldn't it be quicker to just change the current override box?

Mark

  • Custom Title
  • Seagull
  • Posts: 28685
Editing TEXT OVERRIDE with AutoLISP
« Reply #26 on: November 19, 2003, 09:18:12 AM »
>How about a button "ADD to list"
thats a good idea CAB, I thought about that too. Maybe in the next version.
TheSwamp.org  (serving the CAD community since 2003)

daron

  • Guest
Editing TEXT OVERRIDE with AutoLISP
« Reply #27 on: November 19, 2003, 09:23:14 AM »
I like that idea too. That way you don't have to manually add it to the text file. Thought of caution, just in case you don't think of it: use vl-sort to alphabetically list your pull-down. You've probably already done that though.

Mark

  • Custom Title
  • Seagull
  • Posts: 28685
Editing TEXT OVERRIDE with AutoLISP
« Reply #28 on: November 19, 2003, 09:36:58 AM »
>use vl-sort to alphabetically list your pull-down
Why not acad_strlsort ? Actually I haven't got that far yet, but thinks for the reminder.
TheSwamp.org  (serving the CAD community since 2003)

daron

  • Guest
Editing TEXT OVERRIDE with AutoLISP
« Reply #29 on: November 19, 2003, 09:39:40 AM »
Yeah, that'll work too. Vl-sort was just the first thing that came to mind. Actually, I've never used acad_strlsort. I never needed to sort anything until after vl- functions came out.