<?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>tema Run layer state in active viewport, turning off paperspace objects en AutoCAD for Mac Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9794760#M39394</link>
    <description>&lt;P&gt;Need some help. We have a drawing named "floor plan" xrefed and located in model space of our drawing "sheets" file. The "floor plan" drawing contains its own set of layer states - for floor plan, ceiling plan, etc. I have a sheet setup in the "sheets" file with a "titleblock" xrefed into paperspace and a viewport for the "floor plan" file. When I activate the viewport and run the layer state for the xrefed "floor plan" then the "titleblock" in paperspace turns off. Is there a way to run a layer state in a viewport and not affect paperspace objects?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I cannot edit the "floor plan" layer states in the "sheets" file because the layer state editor will not allow you to edit layer states of an exerted drawing. Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Oct 2020 21:18:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-10-09T21:18:26Z</dc:date>
    <item>
      <title>Run layer state in active viewport, turning off paperspace objects</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9794760#M39394</link>
      <description>&lt;P&gt;Need some help. We have a drawing named "floor plan" xrefed and located in model space of our drawing "sheets" file. The "floor plan" drawing contains its own set of layer states - for floor plan, ceiling plan, etc. I have a sheet setup in the "sheets" file with a "titleblock" xrefed into paperspace and a viewport for the "floor plan" file. When I activate the viewport and run the layer state for the xrefed "floor plan" then the "titleblock" in paperspace turns off. Is there a way to run a layer state in a viewport and not affect paperspace objects?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I cannot edit the "floor plan" layer states in the "sheets" file because the layer state editor will not allow you to edit layer states of an exerted drawing. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 21:18:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9794760#M39394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-09T21:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Run layer state in active viewport, turning off paperspace objects</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9795100#M39395</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;FONT color="#999999"&gt;&lt;EM&gt;When I activate the viewport and run the layer state for the xrefed "floor plan" then the "titleblock" in paperspace turns off.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Since you can not edit t&lt;SPAN&gt;he "floor plan" layer states , i suggest to change your titleblock layer . i mean change your titleblock layer that attached on .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 05:23:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9795100#M39395</guid>
      <dc:creator>imadHabash</dc:creator>
      <dc:date>2020-10-10T05:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Run layer state in active viewport, turning off paperspace objects</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9798052#M39396</link>
      <description>&lt;P&gt;Thanks. That was one of our thoughts. When we worked in Autocad Windows there was an option to "Turn off layers not listed in later states" which resolved this issue, however I do not see this is an option in the Mac version. Ultimately to do as you suggest we would need to edit the layer states for each new project, which is doable, just not as convenient.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 15:05:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9798052#M39396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-12T15:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Run layer state in active viewport, turning off paperspace objects</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9798163#M39397</link>
      <description>&lt;P&gt;If you asked for AutoCAD for MAC, you are in the wrong board..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And: You are right. I am not a MAC User, but what i can read from the MAC help, it isn't an option for AutoCAD for MAC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&lt;/P&gt;
&lt;P&gt;But there should be a Lispfunction to do that (and as last option, it's possible to wrote one).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We can run a short test if you like, but i am not the one who wrote whole programs for others&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 15:52:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9798163#M39397</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2020-10-12T15:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Run layer state in active viewport, turning off paperspace objects</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9798867#M39408</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But there should be a Lispfunction to do that (and as last option, it's possible to wrote one).&lt;/P&gt;
&lt;P&gt;We can run a short test if you like, but i am not the one who wrote whole programs for others&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Copy this line to text EDITOR&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;(layerstate-restore "&lt;FONT color="#FF0000"&gt;[XREFNAME]__[LAYERNAME]&lt;/FONT&gt;" (ssname (ssget "_X" (list'(0 . "VIEWPORT")(cons 69 (getvar 'CVPORT)))) 0) 4)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Open your main file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: Change the red part to the XRef layer state name&lt;/P&gt;
&lt;P&gt;For example, My XRefname is TEST and the layer state name is 123,&lt;/P&gt;
&lt;P&gt;in your main file the XRef layer state name is: TEST__123&lt;/P&gt;
&lt;P&gt;right?&lt;/P&gt;
&lt;P&gt;OK:&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;(layerstate-restore "&lt;FONT color="#FF0000"&gt;TEST__123&lt;/FONT&gt;" (ssname (ssget "_X" (list'(0 . "VIEWPORT")(cons 69 (getvar 'CVPORT))(cons 410 (getvar 'CTAB)))) 0) 4)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Copy to clipboard your edited line [CTRL]+[c]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Go into your viewport, paste your line [CTRL]+[V]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;and?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 23:36:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9798867#M39408</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2020-10-12T23:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Run layer state in active viewport, turning off paperspace objects</title>
      <link>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9805196#M39436</link>
      <description>&lt;P&gt;Same person...just different account...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sending this, but I think we have found a work around where we will name all of our titleblocks (and associated titleblock layers) the same on every project and then just edit the layer states in our drawing template file. Appreciate the help.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 16:10:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-for-mac-forum/run-layer-state-in-active-viewport-turning-off-paperspace/m-p/9805196#M39436</guid>
      <dc:creator>brandon2WL3W</dc:creator>
      <dc:date>2020-10-15T16:10:16Z</dc:date>
    </item>
  </channel>
</rss>

