TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: curmudgeon on December 31, 2010, 09:23:47 AM

Title: regions fail to hide obects
Post by: curmudgeon on December 31, 2010, 09:23:47 AM
posting here is probably not entirely apt, I don't really think any lisp is my problem.

working on good old Autocad 2000 still, I make regions and give them elevations greater than 0, and want to hide the objects behind them when I plot. specifically, blocks represent fire alarm devices, and the wire behind is drawn with LWPOLYLINEs.

no fun to play without files, attaching a small piece of larger file which has the disease.
a picture being worth ten cubed words.

I have fought this for years, the trick would be too useful to give up easily. but the results are INCONSISTENT.

possible workaround - when I explode the circuits, LWPOLYLINEs, the hide seems to work, at least where I have checked.
but I can't stand losing the utility of the original. maybe I save file, explode all circuits, plot, and quit without saving.

but there should be something more nifty. I could save the data required to entmake the circuits as extended data, and write the code that would erase lines and recreate the original.

suggestions?
Title: Re: regions fail to hide obects
Post by: mjfarrell on December 31, 2010, 09:43:26 AM
use a wipeout within your blocks

or perhaps place a solid; such as a cube or a sphere?

or even some 3d faces?
Title: Re: regions fail to hide obects
Post by: curmudgeon on December 31, 2010, 10:36:50 AM
thanks, I played with them. wipeout takes everything all the time. not good.
3d face worked, and then failed.
no editing between working and failing, just some zooming around and regenerating and hiding.

my best guess is that there is something LIKE when ssget needs objects to be visible on screen to be selected.
HIDE has trouble with objects not entirely on screen?

(after I typed that, I disproved it. oh, well.)
still looking for cleverness, or experience with similar.
thanks.

IT'S JUST POSSIBLE THIS IS ENTIRELY MY SYSTEM.
Title: Re: regions fail to hide obects
Post by: Keith™ on December 31, 2010, 01:37:38 PM
I experienced this exact problem when I was plotting using any HP device. The driver is where the problem was for me. After installing an AutoCAD plot driver patch, my problem went away.
Title: Re: regions fail to hide obects
Post by: CAB on December 31, 2010, 09:50:05 PM
More on Wipeouts.

http://www.theswamp.org/index.php?topic=9924.0

You may have to play with the "DRAWORDER" too.


Oops, I see you are not using text.
Never mind.  :oops:
Title: Re: regions fail to hide obects
Post by: curmudgeon on December 31, 2010, 10:37:44 PM
YOWZA! thanks guys.
Title: Re: regions fail to hide obects
Post by: Lee Mac on January 01, 2011, 08:33:35 AM
I may be misunderstanding the problem, but why not put all objects in the block (it is a block you want to hide?) on layer "0", then when you don't wish for the object to be printed, move the blocks onto a non-plotting layer such as DefPoints (this could be achieved easily using LISP also).

Lee
Title: Re: regions fail to hide obects
Post by: CAB on January 01, 2011, 09:05:59 AM
I think it's the same old problem Lee. Hide the wire / LWpolyline when there is a block in front of it.
No one wants the break the wire.  8-)
Title: Re: regions fail to hide obects
Post by: CAB on January 01, 2011, 09:09:25 AM
More links: (add wipeout to a block)

http://www.theswamp.org/index.php?topic=35832.0

http://www.theswamp.org/index.php?topic=13842.0

and one old one
http://www.theswamp.org/index.php?topic=4446.msg54136#msg54136
Title: Re: regions fail to hide obects
Post by: Lee Mac on January 01, 2011, 09:10:22 AM
I think it's the same old problem Lee. Hide the wire / LWpolyline when there is a block in front of it.
No one wants the break the wire.  8-)

Oh I see - looks like I did read it wrong  :oops: - too many drinks from last night I think  :-o

Happy New Year Alan :-)
Title: Re: regions fail to hide obects
Post by: CAB on January 01, 2011, 09:15:19 AM
Same to you Lee.
You got to see it first 8-)
Still on my first cup.
Title: Re: regions fail to hide obects
Post by: mjfarrell on January 01, 2011, 09:17:50 AM
I may be misunderstanding the problem, but why not put all objects in the block (it is a block you want to hide?) on layer "0", then when you don't wish for the object to be printed, move the blocks onto a non-plotting layer such as DefPoints (this could be achieved easily using LISP also).

Lee
Lee,  I'm pretty sure the OP was attempting to hide the linework of the circuit as it passed through the block for various symbols for switches, alarms, etc along the route of the circuit.  
It appears that the Wipeouts, and Draworder has the issue in hand.
Unless I misunderstand the use of the word YOWZA!

Happy New Year to Lee and Alan
Title: Re: regions fail to hide obects
Post by: Lee Mac on January 01, 2011, 09:40:32 AM
Lee,  I'm pretty sure the OP was attempting to hide the linework of the circuit as it passed through the block for various symbols for switches, alarms, etc along the route of the circuit.  
It appears that the Wipeouts, and Draworder has the issue in hand.
Unless I misunderstand the use of the word YOWZA!

Yeah, I had read it the other way round...  :oops:

Happy New Year to you too Michael!  :-)
Title: Re: regions fail to hide obects
Post by: CAB on January 01, 2011, 11:54:42 AM
It appears that the Wipeouts, and Draworder has the issue in hand.
Unless I misunderstand the use of the word YOWZA!

Happy New Year to Lee and Alan

That about sums it up.

And a Happy New Year back at ya Michael. 8-)