Author Topic: Change the Dim Style Text Style?  (Read 13208 times)

0 Members and 2 Guests are viewing this topic.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Change the Dim Style Text Style?
« Reply #15 on: January 02, 2006, 06:31:33 PM »
SHX files etc.
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.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Change the Dim Style Text Style?
« Reply #16 on: January 02, 2006, 06:41:59 PM »
Well, that's got me stumped ... It works for me on your Drawing.

I'll qualify that .. I used AC2006, 'cause I dont have AC2000. I wonder If thats an issue ?

PS : I used a complete ActiveX solution, assuming that was your requirements.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Change the Dim Style Text Style?
« Reply #17 on: January 02, 2006, 06:53:49 PM »
This line does not set the current dimstyle   
Code: [Select]
    (vla-put-activedimstyle g:activedocument eachItem)therefor this test fails because the DimTXSTY never changes.
Code: [Select]
    (if (= (vlax-invoke g:activedocument 'getvariable "DimTXSTY") StyleNameToRename)
Must be a ACAD2000 bug. Don't sweat it. I have the command line version to fall back on.

I'll be installing ACAD2006 this week so I'll be leaving 2000 behind.

Thanks for the help. :-)
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.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Change the Dim Style Text Style?
« Reply #18 on: January 02, 2006, 06:55:25 PM »
My pleasure Alan.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.