Author Topic: I need to know if a block is dynamic or not  (Read 776 times)

0 Members and 1 Guest are viewing this topic.

domenicomaria

  • Swamp Rat
  • Posts: 724
I need to know if a block is dynamic or not
« on: July 27, 2022, 05:33:15 AM »
certainly this morning my brain is more melted than usual

I need to know if a block is dynamic or not.

And I only know the name of the block.

How you do it ?

domenicomaria

  • Swamp Rat
  • Posts: 724
Re: I need to know if a block is dynamic or not
« Reply #1 on: July 27, 2022, 05:44:32 AM »
Code - Auto/Visual Lisp: [Select]
  1. (= (vla-get-IsDynamicBlock (vla-item (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object))) block-name ) ) :vlax-true)
. . .
sorry !
 :whistling: