Author Topic: I want to create a list of all visibility states of a dynamic block  (Read 4465 times)

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12915
  • London, England
Re: I want to create a list of all visibility states of a dynamic block
« Reply #15 on: July 15, 2015, 05:15:02 AM »
Hi Lee

Once again you are awesome but..........I got to debug your code (yahoo, yippee etc etc)

 (= "AcDbBlockReference" (vla-get-objectname (setq obj (vlax-ename->vla-object obj))));ent

but seriously, thanks.

Thanks Prickle Farmer - that'll teach me for writing code in the forum post box!  :lol:

(updated the above)

Prickle Farmer

  • Newt
  • Posts: 33
  • 35+ years of AutoCAD / BricsCAD
Re: I want to create a list of all visibility states of a dynamic block
« Reply #16 on: July 15, 2015, 08:34:42 AM »
Kerry , not my weather......suck it up (lol).  But seriously v.cold here too. I used to be near Canberra so even colder.

kpblc, your solution was spot on but I will go with Lee's.  Why? I already pre-load his Dynamic Block Functions for other stuff that I have written. (Thanks Lee.........again)  I only come here when I get stuck.  What a fab forum.  This post has 80+ hits already and I'm done.  Back to my code........
I'd rather have a bottle in front of me than a frontal lobotomy.

Prickle Farmer

  • Newt
  • Posts: 33
  • 35+ years of AutoCAD / BricsCAD
Re: I want to create a list of all visibility states of a dynamic block
« Reply #17 on: July 15, 2015, 08:37:15 AM »
Lee  that will be Prickle Farmer 1 Lee Mac 1,000,000+.  I am in awe, so don't be humble.
I'd rather have a bottle in front of me than a frontal lobotomy.

kpblc

  • Bull Frog
  • Posts: 396
Re: I want to create a list of all visibility states of a dynamic block
« Reply #18 on: July 15, 2015, 09:02:03 AM »
That's ok. I think there are not too many people who can make some competition with Lee :)
Sorry for my English.

Prickle Farmer

  • Newt
  • Posts: 33
  • 35+ years of AutoCAD / BricsCAD
Re: I want to create a list of all visibility states of a dynamic block
« Reply #19 on: July 15, 2015, 09:25:12 AM »
I think you are right kpblc, Lee is the biz.
I'd rather have a bottle in front of me than a frontal lobotomy.

Lee Mac

  • Seagull
  • Posts: 12915
  • London, England
Re: I want to create a list of all visibility states of a dynamic block
« Reply #20 on: July 15, 2015, 12:12:47 PM »
You're too kind  :-)

Though, as far as programming goes, I'm still just a small fish in a very big pond Swamp  :wink: