<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Shifting viewports in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/6567907#M128504</link>
    <description>&lt;P&gt;This is absolutely amazing! Its going to make everything so much easier and faster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate your&amp;nbsp;quick response and the time you spent&amp;nbsp;in helping me out.&amp;nbsp;Thanks again.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2016 21:56:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-16T21:56:06Z</dc:date>
    <item>
      <title>Shifting viewports</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/6567552#M128502</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if you could somehow shift a viewport center x location by a specific amount throughout multiple layouts? The problem i am having is that I have numerous layouts of a model and making a change to the beginning of the model (adding 2") will result in all layout viewports to be shifted by that amount. I then have to go into each layout and resize the viewport to display what it did before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: I basically want to run the "-p" command to all other viewports on different layouts.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 19:02:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/6567552#M128502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-16T19:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Shifting viewports</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/6567850#M128503</link>
      <description>&lt;P&gt;Try this... it will PAN from point 0,0,0 to a point by your specification.... 2,0 ??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;(defun c:PanAllVPs (/ pt oCTAB en vp i ss vp)
  
  (if (setq pt (getpoint "\nSpecify displacement point: "))
    (progn      
      (setq oCTAB (getvar 'CTAB))
      (foreach x (layoutlist)
	(setvar 'CTAB x)
	(command "_.zoom" "_E")
	(if (setq ss (ssget "_X" (list '(0 . "VIEWPORT") (cons 410 x))))
	  (repeat (setq i (sslength ss))
	    (setq en (entget (ssname ss (setq i (1- i))))
		  vp (cdr (assoc 69 en)))
	    (if (&amp;gt; vp 1)
	      (progn
		(command "_.mspace")
		(setvar 'CVPORT vp)
		(command "_.PAN" '(0 0 0) pt)))))
	(command "_.pspace"))
      (setvar 'CTAB oCTAB)))
  (princ)
)&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;It process all the layouts and all VP. If you want to protect same of them, lock them.&lt;/P&gt;
&lt;P&gt;Thanks to&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/75977"&gt;@hmsilva﻿&lt;/a&gt;&amp;nbsp;for the core loop.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 21:21:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/6567850#M128503</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2016-09-16T21:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Shifting viewports</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/6567907#M128504</link>
      <description>&lt;P&gt;This is absolutely amazing! Its going to make everything so much easier and faster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate your&amp;nbsp;quick response and the time you spent&amp;nbsp;in helping me out.&amp;nbsp;Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 21:56:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/6567907#M128504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-16T21:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Shifting viewports</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/7977578#M128505</link>
      <description>&lt;P&gt;How do you use that? I don't understand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;L.M.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 15:26:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/7977578#M128505</guid>
      <dc:creator>mc5fan</dc:creator>
      <dc:date>2018-05-03T15:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Shifting viewports</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/7977877#M128506</link>
      <description>Please stop with spam.&lt;BR /&gt;Set your setup in PAGESETUP or PLOTdialog and apply to pagesetup.&lt;BR /&gt;&lt;BR /&gt;If you dont write what you are looking for we can not help!&lt;BR /&gt;&lt;BR /&gt;The offset is reachable in both dialog.&lt;BR /&gt;PLOTOFFSET is for relativ to printarea or paperborder, look into F1&lt;BR /&gt;&lt;BR /&gt;If you only searching for the white paper position in layout, set your want pagesetup and it will follow your given printing area.</description>
      <pubDate>Thu, 03 May 2018 16:42:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/7977877#M128506</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2018-05-03T16:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Shifting viewports</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/7982968#M128507</link>
      <description>&lt;P&gt;Spam? Really? How about less fluff from your end? My Manager explained it quick and simple with no attempt to throw insults. Maybe next time.&lt;/P&gt;</description>
      <pubDate>Sun, 06 May 2018 12:38:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/7982968#M128507</guid>
      <dc:creator>mc5fan</dc:creator>
      <dc:date>2018-05-06T12:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Shifting viewports</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/11341060#M128508</link>
      <description>&lt;P&gt;Another similar thread here. I posted one that can work with locked viewports based on a modification of&amp;nbsp;marko_ribars program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="Pan all Viewports in selected Layouts" href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/pan-all-viewports-in-selected-layouts/m-p/8575760" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/pan-all-viewports-in-selected-layouts/m-p/8575760&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 22:30:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/shifting-viewports/m-p/11341060#M128508</guid>
      <dc:creator>3dwannab</dc:creator>
      <dc:date>2022-08-04T22:30:02Z</dc:date>
    </item>
  </channel>
</rss>

