Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Batch Mirror Multiple DWG's or DXF on the vertical axis

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
rhys.hughesEDGHC
619 Views, 7 Replies

Batch Mirror Multiple DWG's or DXF on the vertical axis

rhys.hughesEDGHC
Participant
Participant

I am trying to work out if there is a way to be able to mirror multiple DWG files all at once without having to open each DWG and use the mirror command.

 

I have tried using macro's but I can't seem to get this to work.

Does anyone has any suggestions to assist? 

 

Cheers

 

Rhys

0 Likes

Batch Mirror Multiple DWG's or DXF on the vertical axis

I am trying to work out if there is a way to be able to mirror multiple DWG files all at once without having to open each DWG and use the mirror command.

 

I have tried using macro's but I can't seem to get this to work.

Does anyone has any suggestions to assist? 

 

Cheers

 

Rhys

Labels (5)
7 REPLIES 7
Message 2 of 8

maratovich
Advisor
Advisor
Accepted solution

 

No problem. Use this - AutoRunLisp 

 

run.PNG

 

Specify commands:

"

_.mirror
_all

 

0,0
0,1
_yes

"

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes

 

No problem. Use this - AutoRunLisp 

 

run.PNG

 

Specify commands:

"

_.mirror
_all

 

0,0
0,1
_yes

"

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
Message 3 of 8

rhys.hughesEDGHC
Participant
Participant

Thanks for this - before I purchase a licence can this be used on AutoCAD LT as well? @maratovich 

0 Likes

Thanks for this - before I purchase a licence can this be used on AutoCAD LT as well? @maratovich 

Message 4 of 8

maratovich
Advisor
Advisor

No, it won't work in AutoCAD LT.
Neither Lisp, nor VBA, nor programs work in AutoCAD LT. This is an easy AutoCAD, just simple drawing.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes

No, it won't work in AutoCAD LT.
Neither Lisp, nor VBA, nor programs work in AutoCAD LT. This is an easy AutoCAD, just simple drawing.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
Message 5 of 8
pendean
in reply to: rhys.hughesEDGHC

pendean
Community Legend
Community Legend
@rhys.hughesEDGHC Are you limited to AutoCADLT only? Then you are in the wrong forum and your post needs to be moved.
0 Likes

@rhys.hughesEDGHC Are you limited to AutoCADLT only? Then you are in the wrong forum and your post needs to be moved.
Message 6 of 8
rhys.hughesEDGHC
in reply to: pendean

rhys.hughesEDGHC
Participant
Participant

Not limited anymore... AutoCAD 2022 installed @pendean 

0 Likes

Not limited anymore... AutoCAD 2022 installed @pendean 

Message 7 of 8

rhys.hughesEDGHC
Participant
Participant

Hi @maratovich this works like a treat, one thing I have noticed however there are some DXF's that come up with points must be distinct; error: Function cancelled, do you know why this may be?

 

I have attached the DXF and also included an image to reference:

 

test1.png

 

Cheers

 

Rhys

0 Likes

Hi @maratovich this works like a treat, one thing I have noticed however there are some DXF's that come up with points must be distinct; error: Function cancelled, do you know why this may be?

 

I have attached the DXF and also included an image to reference:

 

test1.png

 

Cheers

 

Rhys

Message 8 of 8

maratovich
Advisor
Advisor

"the points must be different" ....
What's on the command line?
You need to increase the coordinates of the points
was 0,1 to make 0,1000 or more.

These are standard commands.
You can enter them with your hands one by one and check where the error is.
The first team is a mirror
the second is to select all objects
third - inter
fourth - coordinate 0,0
fifth -corridinate 0.1
the sixth is to remove the old mirror.

Coordinates 0,0 and 0,1 are X,Y

 

"

_.mirror
_all

 

0,0
0,1000
_yes

"

 

 

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes

"the points must be different" ....
What's on the command line?
You need to increase the coordinates of the points
was 0,1 to make 0,1000 or more.

These are standard commands.
You can enter them with your hands one by one and check where the error is.
The first team is a mirror
the second is to select all objects
third - inter
fourth - coordinate 0,0
fifth -corridinate 0.1
the sixth is to remove the old mirror.

Coordinates 0,0 and 0,1 are X,Y

 

"

_.mirror
_all

 

0,0
0,1000
_yes

"

 

 

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report