vla-put-explodable not working

vla-put-explodable not working

EnM4st3r
Advocate Advocate
293 Views
1 Reply
Message 1 of 2

vla-put-explodable not working

EnM4st3r
Advocate
Advocate

Hi, I want to change the explodable property of a Block but somehow that property is missing?

The Reference guide (2024) says it should have it:

EnM4st3r_0-1701250215879.png

 

But when I use vlax-dump-object on the block it doesnt show the explodable property..
also when using (vla-put-explodable (vlax-ename->vla-object (car (entsel))) :vlax-true)

i get this message "ActiveX server returned the following error: unknown name: Explodable."

 
Can anyone help me with that?
0 Likes
Accepted solutions (1)
294 Views
1 Reply
Reply (1)
Message 2 of 2

EnM4st3r
Advocate
Advocate
Accepted solution

alright i know what was the problem. the object returned by vlax-ename->vla-object is not the object i need. It reutrns the Properties of the Block-reference but not the block-definiton. So what i need to do is filter trough the block definitions and then use the Blockdefinition for that.

0 Likes