Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
I need to know if a block is dynamic or not
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: I need to know if a block is dynamic or not (Read 796 times)
0 Members and 1 Guest are viewing this topic.
domenicomaria
Swamp Rat
Posts: 725
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 ?
Logged
domenicomaria
Swamp Rat
Posts: 725
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]
(
=
(
vla
-
get
-
IsDynamicBlock
(
vla-item
(
vla-get-blocks
(
vla-get-activedocument
(
vlax-get-acad-object
)
)
)
block
-
name
)
)
:vlax-true
)
. . .
sorry !
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
I need to know if a block is dynamic or not