TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mailmaverick on January 23, 2018, 07:13:45 AM

Title: Flatten Not working on Blocks
Post by: mailmaverick on January 23, 2018, 07:13:45 AM
Hi,

I have used Express Tools FLATTEN command as well as
      (command "MOVE" ss "" "0,0,0" "0,0,1e99")
      (command "MOVE" ss "" "0,0,0" "0,0,-1e99")
for moving my objects to Zero Elevation.
It works fine for all objects except Blocks. Any way to put all objects within a block to Zero elevation ?
Title: Re: Flatten Not working on Blocks
Post by: lamarn on January 23, 2018, 07:17:30 AM
No easy fix imo.
Normal procedue. Refedit and fix in manually, isn't that an option?
Title: Re: Flatten Not working on Blocks
Post by: mailmaverick on January 23, 2018, 07:25:08 AM
No easy fix imo.
Normal procedue. Refedit and fix in manually, isn't that an option?
We get drawings from client which contains thousands of entities and blocks, it is very difficult to modify each one of them manually.
Title: Re: Flatten Not working on Blocks
Post by: lamarn on January 23, 2018, 08:44:48 AM
post parts of an example.
Maybe the blocks are not so complex to run it with some script or lisp or
Title: Re: Flatten Not working on Blocks
Post by: ronjonp on January 23, 2018, 08:46:51 AM
Have you tried THIS (http://www.theswamp.org/index.php?topic=18153.msg220452#msg220452) ?