Author Topic: AnnoScheduleTagAdd  (Read 3525 times)

0 Members and 1 Guest are viewing this topic.

jbuzbee

  • Swamp Rat
  • Posts: 851
AnnoScheduleTagAdd
« on: May 17, 2006, 06:21:03 PM »
I'm cross posting from the ADT.Customization NG because, well, it's pretty dead over there.  You know, in fact other than me and Rob Starz, no bodies really pushing the ADT customization envelope!  Waz up wit dat?  :?

Ok, well:

Because I hate Tool Palettes sooooo much I've penned a pull down for adding schedule stuff.  I use "AnnoScheduleTagAdd" - which the fine folks at ADT have so gracefully provided. (no - that's not sarcasm you hear)

I write the active style with the following:

(defun jb:SetActiveScheduleStyle  (style / )
  (vl-registry-write
    (strcat "HKEY_CURRENT_USER\\"
     (vlax-product-key)
     "\\Profiles\\"
     (vla-get-ActiveProfile
   (vla-get-Profiles (vla-get-preferences (vlax-get-acad-object))))
     "\\Dialogs\\"
     "AecUiSchedule40-SchedTableCreateEx")
    "Style name"
    style)
  (princ))

However, the MVBlock tag comes in really really small so I have to adjust it after it's in.  No big deal it would just be nice to see the ghost image as a user is placing it.  I've searched the registry for xyz scale of a MVBlock and found nothing.  Anyone else doing anything like this?

jb
James Buzbee
Windows 8