TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: andy_lee on June 09, 2015, 06:19:32 AM

Title: Can't shell , change in topology detected.
Post by: andy_lee on June 09, 2015, 06:19:32 AM
Hi all
Sometimes , use autocad edit 3d solid . I found a BUG,  it's BUG ? maybe.
The problem is : can't "shell" , use command "shell" ,but err.
like this:
Modeling Operation Error:
     Change in topology detected.

Manual solution: move this solid to 0,0,0 , use "shell" ---ok!
I don't know why need do this (move), It's a BUG?

If I move this solid , when finish the "shell" , I need move it back . So this is not a smart way .
Can use coding to solve this problem?

attachment is a test file (can't shell)

Thanks.






Title: Re: Can't shell , change in topology detected.
Post by: andy_lee on June 10, 2015, 07:10:26 AM
Dear all

I think can like this:

use Lee's routine to get the center of gravity solids  (http://www.cadtutor.net/forum/showthread.php?92354-Center-of-gravity) ,Get the coordinates of the point(center of gravity) . remember

move this solid to 0,0,0 , zoom --->object.

shell

move this solid back to that coordinates.---->zoom --object

finish

Thanks for any help.