Search the Community
Showing results for tags 'view ports'.
-
I have a drawing with multiple Viewports using different Layer States. How do I know which Layer State is being used in each Viewport.
- 5 replies
-
- layer states
- layer manager
-
(and 1 more)
Tagged with:
-
Getting error message "exceeded maximum number of selection sets"
Baber62 posted a topic in AutoLISP, Visual LISP & DCL
Need assistance with the code below, using it to toggle my viewports (open and close). However, after a few times of using it throws up the message "exceeded maximum number of selections" and doesn't do nothing resulting in me having to close down and restart AutoCAD. Not sure if it this routine which is doing it but when I select a grip and try to move it grip turns red and stays in same position. ; Toggle the "Display Locked" Variable of selected viewports based on the first view port selected (defun c:vplocktoggle (/ Ename ss ) (princ "\nSelect Viewport...") ;Get selection set, allow only viewports (setq ss (ssget '((0 . "viewport")))) (if (IsVpLocked (setq Ename (ssname ss 0))) ;Viewport is locked. Run Unlock commands (progn (princ "\nViewport selected is Locked") ;Unlock viewport (command "mview" "Lock" "OFF" ss "") ;Change viewport color to red to indicate it is Unlocked (command ".change" ss "" "p" "c" "1" "") (princ "\nViewport is now Unlocked") ) ;Viewport is unlocked. Run Lock commands (progn (princ "\nViewport selected is Unlocked") ;Lock viewport (command "mview" "Lock" "ON" ss "") ;Change viewport color to ByLayer to indicate it is Locked (command ".change" ss "" "p" "c" "bylayer" "") (princ "\nViewport is now Locked") ) ) (princ) ) ; Return: T if locked, Nil otherwise (defun IsVpLocked (Ename) (eq 16384 (logand 16384 (cdr (assoc 90 (entget Ename))))) ) -
Backgound mask showing in some viewports on plot
jkoll66 posted a topic in AutoCAD 2D Drafting, Object Properties & Interface
Hi, I have a drawing that incorporates a number of Multileaders that consist of a rectangle with some text inside and a background mask. This drawing is then Xref'd into another drawing.The issue I'm having is that in the main drawing I have frozen some of these. However, the background mask is still showing on the plotted drawings. I've tried to "Select All" to see if something shows up in the drawing, but to no avail. Any ideas? Thanks.- 20 replies
-
- view ports
- background mask
-
(and 1 more)
Tagged with:
-
Viewport shade plot always resets to "as displayed" when saving.
dstonge posted a topic in AutoCAD Drawing Management & Output
I've set a viewport's shade plot to "legacy hidden" but after I save it automatically returns to "as displayed". The VP shade plot settings will not hold. Funny thing is... If i flip to the MS tab and save, then back to the PS tab, the VP shade plots are retained at "legacy hidden". But anytime I save while on a layout tab the VPs all return to "as displayed". Has anyone encountered this before or have any advice on fixing it? Thanks in advance! David System - AutoCAD Mechanical 2014-
- shade plot
- hidden
-
(and 2 more)
Tagged with:
-
I am a machine designer and I am switching from everything done in model space to using view port/paper space for my annotations and finalizing my drawings. Because my models have many parts I end up with many paper space layouts. Is there a way to search the paper space (view port) tabs instead of wondering through the many tabs? My current project file has over 50 paper space/view port tabs.