• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

explode command recalled via lisp does not work with "intersection"

  • Thread starter Thread starter mark_p
  • Start date Start date

mark_p

Guest
Hi.
I started using autocad as a student in the English version v12, from time to time, depending on the study where I went to work for not losing time to adapt the post to my needs and be productive immediately I prepared an lsp with the abbreviations to which I was accustomed in addition to a series of small utilities that came back comfortable. for a series of traversies is a bit that I don't design anymore, now when I call the command
(defun c:x (command "_explode")
I no longer work the transparent action 'nt to select multiple objects through an imaginary line.
of course if from command line do _explode and 'nt instead it is all regular.
Does anyone have any idea why it stopped working and how to possibly obviate?
Thank you very much
 
from some time in lisp the explode command only accepts the selection of a block.

the initcommandversion function makes it work as previous versions.
changes your function:
Code:
(fun c:x ( / s )
(initcommandversion)
(setq ssget)
(command "_explode" s ")
)
or with the command alissedit asegna x to the command exploded
 
Thank you so much works very well the proposed change (I prefer it so I don't put hand in the configuration of the pc since I borrow it occasionally!) :)
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
ciao
Back
Top