Here's the process we used to do a similar thing:
Display a dialog asking the user to select the xrefs that he wants to
screen. You can find the xrefs attached by looping through the
modelspace collection and searching for xrefs.
For each layer in the layers collection that begins with the xref name
and "|", grab the original color and attach it to the layer with xdata.
Then, change it's color to 252. You could also change the plotstyle here.
To unscreen it, just read the xdata on each layer, and set the color
back to it's original.
There are several error checks you'll also need to do, but that should
get you going.
HTH,
-Danny Polkinhorn
Perkins & Will
Atlanta
dug262sn wrote:
> Does anyone have a suggestion/code for listing all the x-refs in the
> current drawing and allowing you to individually or mass selecting the
> desired x-ref's and send them to a screened layer to simulate a
> consultants "base plan". (possibly with xdata) This is a major request
> that I am getting from our in-house landscape and structural departments
> that want to have the architect's x-refs screened for output so that
> thier information "POP'S" out when they plot thier output sheets.
>
> D.Williams
> dwilliams@theprestonpartnership.com
>