<?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: Help - Presentation layout follow specific object in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13220860#M4870</link>
    <description>Thanks, indeed I'm talking about Layout vports, I forget to translate it from french. Would you have a link to the lisp routine that you refer ?&lt;BR /&gt;&lt;BR /&gt;I don't think so that my answer gonna found a result by magic haha, so I guess I gonna start to learn how to do it by myself, exemple will be usefull.</description>
    <pubDate>Thu, 19 Dec 2024 17:15:14 GMT</pubDate>
    <dc:creator>lucas_liotard3E368</dc:creator>
    <dc:date>2024-12-19T17:15:14Z</dc:date>
    <item>
      <title>Help - Presentation layout follow specific object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13220543#M4867</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It's been a while that I was thinking on it but I barely have knowledge about list and scrip.&lt;/P&gt;&lt;P&gt;I would like to know if there is any scrip of function in Autocad that make us capable to lock a presentation to a specific object/block so when we move the object the presentation would follow the object ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Overall explanation, I'm an architect, when I clean a file with many detail to make a package for someone else, I move, organize all details so the document is easier to understand. Classic problem that make me loose time is that when you move an object, the presentation that you already prepare do not update with the new location of the detail, so you have a blank presentation that you have to redo again.&lt;BR /&gt;So I'm looking for a way to keep all presentations update when I move something out of the current location of the presentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two ideas in my mind:&lt;/P&gt;&lt;P&gt;- First one would be to be able to lock a presentation to a specific object or block so it can follow, the block would be centered in the middle of the presentation or could be customized.&lt;/P&gt;&lt;P&gt;-Second thought, is that we have like the section in sketchup, an option to hide/unhide the presentation location of the object page of the document. So we would be able to directly manage in object, the location of any presentations.&lt;BR /&gt;&lt;BR /&gt;So before going any further I would like to know if any scripts of commands in Autocad already exist. I didn't find anything for my research so far.&lt;BR /&gt;&lt;BR /&gt;Have a good day all &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 14:53:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13220543#M4867</guid>
      <dc:creator>lucas_liotard3E368</dc:creator>
      <dc:date>2024-12-19T14:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Presentation layout follow specific object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13220789#M4868</link>
      <description>&lt;P&gt;I assume when you use the word &lt;STRONG&gt;Presentation&lt;/STRONG&gt; you are referring to &lt;STRONG&gt;Layout&lt;/STRONG&gt; &lt;STRONG&gt;vports&lt;/STRONG&gt; then the answer is I’m not aware of any. I’m only aware of a lisp routine that locks the vport to a view. When that view moves then the vports view also moves.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 16:41:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13220789#M4868</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-12-19T16:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Presentation layout follow specific object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13220839#M4869</link>
      <description>Looks like you need to commit to using SketchupPro and it's abilities that align with your workflows.</description>
      <pubDate>Thu, 19 Dec 2024 17:07:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13220839#M4869</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2024-12-19T17:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Presentation layout follow specific object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13220860#M4870</link>
      <description>Thanks, indeed I'm talking about Layout vports, I forget to translate it from french. Would you have a link to the lisp routine that you refer ?&lt;BR /&gt;&lt;BR /&gt;I don't think so that my answer gonna found a result by magic haha, so I guess I gonna start to learn how to do it by myself, exemple will be usefull.</description>
      <pubDate>Thu, 19 Dec 2024 17:15:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13220860#M4870</guid>
      <dc:creator>lucas_liotard3E368</dc:creator>
      <dc:date>2024-12-19T17:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Presentation layout follow specific object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13220862#M4871</link>
      <description>Indeed Sketchup pro do it but the fact that where I work most of offices use Autocad, so it's more how I optimize my work when I do it for other than doing my own custom workflow.</description>
      <pubDate>Thu, 19 Dec 2024 17:17:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13220862#M4871</guid>
      <dc:creator>lucas_liotard3E368</dc:creator>
      <dc:date>2024-12-19T17:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Presentation layout follow specific object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13221009#M4872</link>
      <description>&lt;P&gt;I believe it's this app called VIEWPORT TOOLS found on the Autodesk App Store:&lt;/P&gt;&lt;P&gt;&lt;A href="https://apps.autodesk.com/ACD/en/Detail/Index?id=768080633918045495&amp;amp;appLang=en&amp;amp;os=Win32_64" target="_blank"&gt;VIEWPORT TOOLS | AutoCAD | Autodesk App Store&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check out the demo video to get an idea on the features offered.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 18:22:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13221009#M4872</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-12-19T18:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Presentation layout follow specific object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13221654#M4873</link>
      <description>&lt;P&gt;I am working on something for automating make layouts, ok so you have a layout move object gone in viewport now, so sort of manually convert to lisp, select viewport, get current scale, jump into viewport roll mouse button and pan/zoom to object pick point, the viewport is now set to that point in Model and rescaled back to correct scale. Some clues, when you have a viewport you have variables Customscale and center so reset both of them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;; move to new center point in a viewport based on a point from Model.
; By AlanH Dec 2024

(defun c:relayout ( / sc obj pt)
(alert "pan or zoom so can see object \n\npress esc next if you have not done that ")
(setq obj (vlax-ename-&amp;gt;vla-object (car (entsel "\nPick viewport object "))))
(setq sc (vlax-get obj 'customscale))
(command "mspace")
(setq pt (getpoint "\nPick new central point "))
(command "zoom" "c" pt 100)
(command "pspace")
(vlax-put obj 'customscale sc)
(princ)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;You may need to check if viewport is locked so unlock do the move then lock again. Hint&amp;nbsp;DisplayLocked = 1 that is your homework.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 03:34:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-presentation-layout-follow-specific-object/m-p/13221654#M4873</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2024-12-20T03:34:31Z</dc:date>
    </item>
  </channel>
</rss>

