Gilles;
Just cleaning up some old post. I just wanted to say thank you for this simple but great tool.
Thank you for your response......but based on your initial code example can this be done for only one specific block programmatically..??
Regards,
Vince
Try this:
(defun _esplodable (name / e) (and (setq e (tblobjname "block" "idt_flagnote")) (setq e (vla-item (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object))) name)) (vla-put-Explodable e :vlax-true) ) )(vl-load-com) (_esplodable "youblockname")
There is an error in the code above and I can't I edit my post??? Anyhoo .. here's the corrected version.
(defun _esplodable (name / e) (and (setq e (tblobjname "block" name)) (setq e (vla-item (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object))) name)) (vla-put-explodable e :vlax-true) ) ) (vl-load-com) (_esplodable "youblockname")
Here is the LISP routine that I use. Gilles Chanteau, Autodesk Expert Elite, helped me with it. He wrote the first command, and I modified it for the second command. Credit Gilles Chanteau.
the two commands allows me to toggle from Explode "on" and Explode "off" for all the blocks contained in a file.
Hope this helps.
Gilles,. Thank you again!!!
@ronjonp wrote:
That's an odd policy...
Put something like "time limit to edit posts" into the Search window in the Community Feedback Forum, for several threads discussing that.
I understand this is an old lisp, but when I tried to execute it said: too few arguments. Would have any Idea how to solve it?
I am not one of the robots you're looking for
Hello dlanorh,
The one provided by RockyBrown4134 on 07-25-2018 gives me the "error: too few arguments" error. If I knew any lisp I wouldn't even write before attempting modifications, but I'm totally lost at this point.
Thanks for the speedy answer.