Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to hide xref in one specific viewport in all layouts

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
fk
Advocate
14544 Views, 6 Replies

How to hide xref in one specific viewport in all layouts

Hey.
We have some heavy drawings with many layouts. Each layout contains multiple viewports. It takes up to 10-15 minutes to switchlayout. When we insert a new xref we would like it to appear in all viewports except one. This applies to all layouts. Anybody that have a good idea of how this can be solved without switching layouts?

 

\Freddy

6 REPLIES 6
Message 2 of 7
Alfred.NESWADBA
in reply to: fk

Hi,

 

>> would like it to appear in all viewports except one

Go to that layout, into this viewport, then start layermanger, select the layer where the XRef is inserted set the option "VP Freeze". That turns off the visibility of the complete XRef content (plus whatever is stored on that layer 😉 ).

 

2013-07-05 09-18-41.png

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 3 of 7
3wood
in reply to: fk

This is quite hard. Except the special viewport has some unique character such as on a special layer or at special position - in that case, it may be handled with a lisp.

Message 4 of 7
fk
Advocate
in reply to: 3wood

Hi.

Interesting. So if the viewport is located on a specific layer we can do it by LISP? Can you point me in some direction, let us say some code already uploded on this discussion group?

 

\Freddy

 

Message 5 of 7
3wood
in reply to: fk

If these viewports are on a special layer, the routine can go through all viewports and identify them by layer property, then it can make changes to the layer viewport overwrite properties and freeze the layer of the concerned xref in these special viewports.

Above is just my guess.

Message 6 of 7
fk
Advocate
in reply to: 3wood

Hi.

OK. Thanks. I will search for some code that can do the stuff. Somebody that already have some code?

 

\Freddy

Message 7 of 7
dbroad
in reply to: fk


We have some heavy drawings with many layouts. Each layout contains multiple viewports. It takes up to 10-15 minutes to switchlayout. When we insert a new xref we would like it to appear in all viewports except one. This applies to all layouts. Anybody that have a good idea of how this can be solved without switching layouts?


10-15 Minutes?  How big are these drawing?  How much RAM have you got?  Have you tried using the xref manager to unload all but those used in a few layouts?  How long does it take to publish these drawings?

 

Sounds like you need a different workflow.  Its generally not good to need to depend on lisps.  Why so much in a single drawing?

 

Did you really mean xrefs visible in all but one viewport? A typical need would be to display an xref in one viewport on one layout.

Architect, Registered NC, VA, SC, & GA.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost