Flatten

Flatten

Amremad
Collaborator Collaborator
3,969 Views
5 Replies
Message 1 of 6

Flatten

Amremad
Collaborator
Collaborator

Hello all 

 

iam searching for Flatten command can set zero of all objects in my drawing to zero without any problem because the embedded flatten in Autocad doesn't work correctly 

all object i mean "Blocks , inside contents , polyline, circle, arc , multileader , mtext and lines"

Accepted solutions (1)
3,970 Views
5 Replies
Replies (5)
Message 2 of 6

Vinayv4v
Advisor
Advisor

Hi,

 

Copy this text to your command line & press enter.

 

(command "MOVE" (ssget "x") "" "0,0,0" "0,0,1e99")
(command "MOVE" (ssget "p") "" "0,0,0" "0,0,-1e99")

 

or you can use this lisp attached.

 

Cheers,

Vinay Vijayakumaran

Message 3 of 6

ChicagoLooper
Mentor
Mentor

Express Tools Tab=>Modify Panel=>Expand Panel by clicking down arrow at bottom=>Flatten Objects. Alternatively,  enter FLATTEN on command line.

Express Tools>Modify Panel>ArrowExpress Tools>Modify Panel>ArrowFlatten objectsFlatten objects

Chicagolooper

EESignature

0 Likes
Message 4 of 6

GrantsPirate
Mentor
Mentor
Accepted solution

use superflatten.lsp

 

https://docs.google.com/file/d/0B8qDgmWkfgJnNTk5WVd4NFJqYzA/edit


GrantsPirate
Piping and Mech. Designer
EXPERT ELITE MEMBER
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.

Message 5 of 6

Anonymous
Not applicable

@Amremad@GrantsPirate 

have you found a solution to flatten Z coordinate to 0 for all objects inside nested blocks?

Similar to nest command if you know it.

14031971_0-1604326776812.png

 

0 Likes
Message 6 of 6

Amremad
Collaborator
Collaborator

try this lisp 🙂 

0 Likes