Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Explode command in script file

4 REPLIES 4
Reply
Message 1 of 5
da13ve
566 Views, 4 Replies

Explode command in script file

Hello, I am trying to write a script file to change some objects. I plan to run as a batch.
I'm all done except I can't fugure out how to exit an explode command without actual user input.
I can run the scrit, esc out of the explode manually, and resume the script, but I can't seem to automate it.

Any help would be greatly appreciated.
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: da13ve

Can you post a short segment of your script?

da13ve wrote:
> Hello, I am trying to write a script file to change some objects. I plan
> to run as a batch.
> I'm all done except I can't fugure out how to exit an explode command
> without actual user input.
> I can run the scrit, esc out of the explode manually, and resume the
> script, but I can't seem to automate it.
>
> Any help would be greatly appreciated.
>
Message 3 of 5
Anonymous
in reply to: da13ve


Use of QAFLAGS set to 1 will help


(setvar "qaflags" 1)
(command "explode" "all" "")
(setvar "qaflags"
0)


--
Best Regards, Jimmy B
CAD and Database Developer Manager
at
href="http://www.pharmadule-emtunga.com">www.pharmadule-emtunga.com

Take
a look at the trial version of SmartPurger (now for AutoCAD 2004) or download
some freeware at www.jtbworld.com
More
on AutoCAD 2004;

href="http://www.jtbworld.com/autocad2004.htm">www.jtbworld.com/autocad2004.htm



href="http://www.jtbworld.com/autocad2004tips.htm">www.jtbworld.com/autocad2004tips.htm


 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hello,
I am trying to write a script file to change some objects. I plan to run as a
batch.
I'm all done except I can't fugure out how to exit an explode
command without actual user input.
I can run the scrit, esc out of the
explode manually, and resume the script, but I can't seem to automate it.

Any help would be greatly appreciated.

Message 4 of 5
Anonymous
in reply to: da13ve

there are 2 form of Explode:

(command "explode" 1ent)
[without setting qaflags 1]


setting qaflags 1

(command "explode" selset1 selset2 [selset...] "")


in script or command line:

explode;selset1;selset2;[selset...;];



--


"da13ve" ha scritto nel messaggio
news:f152fa4.-1@WebX.maYIadrTaRb...
> Hello, I am trying to write a script file to change some objects. I plan
to run as a batch.
> I'm all done except I can't fugure out how to exit an explode command
without actual user input.
> I can run the scrit, esc out of the explode manually, and resume the
script, but I can't seem to automate it.
> Any help would be greatly appreciated.
>
Message 5 of 5
da13ve
in reply to: da13ve

Thank you very much for the help. the (setvar "qaflags" 1)
(command "explode" "all" "")
(setvar "qaflags" 0)
option worked nicely 🙂

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost