Autolisp to emulate AMSHIDE Situation for Normal autocad

Autolisp to emulate AMSHIDE Situation for Normal autocad

Sujan.Maharjan
Collaborator Collaborator
812 Views
1 Reply
Message 1 of 2

Autolisp to emulate AMSHIDE Situation for Normal autocad

Sujan.Maharjan
Collaborator
Collaborator

Hi,

Is there any autolisp which could help working with block behind another block or any object. I want to show block behind block hidden/dashed and white color without exploding block. 


"Revit Lies in the tension between what we want to do and what can be done!"
0 Likes
813 Views
1 Reply
Reply (1)
Message 2 of 2

hencoop
Advisor
Advisor

I cannot imagine any way that can be done using autolisp or any other programming language.  To my knowledge the functions for that are not available.

However,  If you underlay your block definitions with a hatch pattern that masks as a screen then you might get that effect.  The screen hatch should plot white and the open areas in the screen hatch will plot normally producing a screened effect.

 

Trying different hatch patterns like dot, ansi37, and others will give alternate patterns.  The example below of ANSI37 was used on a photo so that copying would not make it darken but it will work similarly on line work and solids.  One way I've found to get complex boundaries for hatching under a block is to draw a rectangle enclosing the block and hatch the area between the block and rectangle while retaining boundaries.  Erase the hatch and rectangle but keep the inner boundary.  This requires that the block be drawn with a closed perimeter as close is not close enough for hatching.  Not literally closed polyline but elements of the perimeter must intersect or have common end points.

 

Screen hatch.jpg

AutoCAD User since 1989. Civil Engineering Professional since 1983
Product Version: 13.6.1963.0 Civil 3D 2024.4.1 Update Built on: U.202.0.0 AutoCAD 2024.1.6
                        27.0.37.14 Autodesk AutoCAD Map 3D 2024.0.1
                        8.6.52.0 AutoCAD Architecture 2024
0 Likes