Command macro explode all, set properties and purge all

Command macro explode all, set properties and purge all

Anonymous
Not applicable
1,222 Views
4 Replies
Message 1 of 5

Command macro explode all, set properties and purge all

Anonymous
Not applicable

Hi all

I'm trying write a command with a macro that:

first explode all( 3 times to be sure that all is exploded)

then change properties of all objects (color/layer/linetype)

and at the end purge all (3 time to be sure that all is purged)

 

^C^C^C_ai_selall;_explode;_ai_selall;_explode;_ai_selall;_explode;_ai_selall;_chprop;color;5;layer;0;ltype;continuous;_purge;all;*;n;_purge;all;*;n;_purge;all;*;n;

 

but don't work 😞

It's interrupt during the second selection request.

if i split this in many different macros works,but in a single string no.

 

help please

 

0 Likes
1,223 Views
4 Replies
Replies (4)
Message 2 of 5

Moshe-A
Mentor
Mentor

@Anonymous  hi,

 

except for getting exploded blocks you turn all polylines to lines and mtext to text, just to understand, what's the point in doing that???

 

moshe

 

0 Likes
Message 3 of 5

Anonymous
Not applicable

Also for modify something and also for other software the work with the file next. 

The problem with the macro is on the selection. I don't understand why don't work many time the same command,and also if the explode command don't find anything to explode the macro don't work. I don't know how many time I have to make explode to be sure that all is exploded, sometimes also 1... But rarely also 2 o 3.

Sorry for bad English. 

0 Likes
Message 4 of 5

Moshe-A
Mentor
Mentor

@Anonymous 

 

how about that?

plot the dwg to pdf than convert it back >> to dwg here << 

much easier

 

moshe

 

 

0 Likes
Message 5 of 5

pendean
Community Legend
Community Legend
Classic ancient tip:
set up a DXB plotter then plot to it with the parameters you want.
Open a blank DWG file, then DXBIN command.

Your new file is now total garbage (aka your intent).

0 Likes