<?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 Creating a layout viewport based on a selection in model space in AutoCAD LT Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-lt-forum/creating-a-layout-viewport-based-on-a-selection-in-model-space/m-p/8015841#M35531</link>
    <description>&lt;P&gt;I want to know if there is a way to create viewports on layout from a selection in model space.&lt;/P&gt;&lt;P&gt;This would increase my speed if I could select what I want in model space, and tell it to automatically turn in a, i.e., 1:25 scale viewport on my layout space, rather than having to create a viewport on layout and manually set the view.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Similar to other 3D software, where the view in perspective can be turned into a camera. I want to do this but with viewports in CAD LT.&amp;nbsp;&lt;/P&gt;&lt;P&gt;From model selection:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="from model.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/502983i30EDF94BA2421908/image-size/large?v=v2&amp;amp;px=999" role="button" title="from model.JPG" alt="from model.JPG" /&gt;&lt;/span&gt;to viewport:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="to vprt.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/502982i3E72FAA69CCE6477/image-size/large?v=v2&amp;amp;px=999" role="button" title="to vprt.JPG" alt="to vprt.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that a feature Autocad can do?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 21 May 2018 16:53:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-21T16:53:03Z</dc:date>
    <item>
      <title>Creating a layout viewport based on a selection in model space</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/creating-a-layout-viewport-based-on-a-selection-in-model-space/m-p/8015841#M35531</link>
      <description>&lt;P&gt;I want to know if there is a way to create viewports on layout from a selection in model space.&lt;/P&gt;&lt;P&gt;This would increase my speed if I could select what I want in model space, and tell it to automatically turn in a, i.e., 1:25 scale viewport on my layout space, rather than having to create a viewport on layout and manually set the view.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Similar to other 3D software, where the view in perspective can be turned into a camera. I want to do this but with viewports in CAD LT.&amp;nbsp;&lt;/P&gt;&lt;P&gt;From model selection:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="from model.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/502983i30EDF94BA2421908/image-size/large?v=v2&amp;amp;px=999" role="button" title="from model.JPG" alt="from model.JPG" /&gt;&lt;/span&gt;to viewport:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="to vprt.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/502982i3E72FAA69CCE6477/image-size/large?v=v2&amp;amp;px=999" role="button" title="to vprt.JPG" alt="to vprt.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that a feature Autocad can do?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 16:53:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/creating-a-layout-viewport-based-on-a-selection-in-model-space/m-p/8015841#M35531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-21T16:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a layout viewport based on a selection in model space</title>
      <link>https://forums.autodesk.com/t5/autocad-lt-forum/creating-a-layout-viewport-based-on-a-selection-in-model-space/m-p/8016626#M35532</link>
      <description>&lt;P&gt;This macro&amp;nbsp;will take a closed shape drawn in modelspace and use it to create a viewport&amp;nbsp; in a layout. Its scale will be set to 1/25.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;^c^csetenv pgm_ctab $m=""""$(getvar,ctab)"""";model copyclip l ;"$m=ctab """"""""$(getenv,pgm_ctab)"""""""";pasteclip non 0,0 zoom e scale l ;non 0,0 1/25 zoom e move l ;non 0,0 \-vports o l mspace zoom o l ;zoom s 1/25xp erase l ;pspace -vports l on l"&lt;/PRE&gt;&lt;P&gt;First draw your shape around the objects you want to view. It must be a closed polyline, circle or ellipse. Then switch to the layout you want the viewport created in and call the macro. Finally pick a point to position&amp;nbsp;the viewport. The original shape will be deleted from modelspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To keep it simple, the scale is hardcoded in the macro (1/25) but you can create a different macro for each scale you use.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 23:08:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-lt-forum/creating-a-layout-viewport-based-on-a-selection-in-model-space/m-p/8016626#M35532</guid>
      <dc:creator>Paul_Gander</dc:creator>
      <dc:date>2018-05-21T23:08:42Z</dc:date>
    </item>
  </channel>
</rss>

