<?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: Default Lights Follow View Angle toggle - script request in 3ds Max Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-forum/default-lights-follow-view-angle-toggle-script-request/m-p/10113848#M18770</link>
    <description>&lt;P&gt;Hey Spacefrog, thanks so much for the input! To be honest with you the main problem I'm having is that when I switch between shading styles and go back to "Performance" the Default Light is always unticked and I need to navigate to the Viewport and Settings Preference window to change it back.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your command works! Can I ask where you found that line of code? because it doesn't appear in the MAXScript Listener when you tick/untick the checkbox in the settings window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the line with TRUE or FALSE it seems to work regardless, but are you saying it's impossible to create a toggle type script because of an internal error? obviously I can place each command as a single action on the toolbar, but a single ON/OFF toggle command would be brilliant.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2021 11:26:17 GMT</pubDate>
    <dc:creator>345243235</dc:creator>
    <dc:date>2021-02-26T11:26:17Z</dc:date>
    <item>
      <title>Default Lights Follow View Angle toggle - script request</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/default-lights-follow-view-angle-toggle-script-request/m-p/10110563#M18768</link>
      <description>&lt;P&gt;I would like a 1-click command to toggle this feature (on/off), is it possible with MaxScript?&lt;/P&gt;&lt;P&gt;ps.this feature was removed in 3ds Max 2021, I am using 2020.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 09:17:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/default-lights-follow-view-angle-toggle-script-request/m-p/10110563#M18768</guid>
      <dc:creator>345243235</dc:creator>
      <dc:date>2021-02-25T09:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Default Lights Follow View Angle toggle - script request</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/default-lights-follow-view-angle-toggle-script-request/m-p/10113383#M18769</link>
      <description>&lt;P&gt;There WOULD be the following maxscript command to toggle that off&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(NitrousGraphicsManager.GetActiveViewportSetting()).DefaultLightsFollowCamera=false&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;problem seems to be, that the functionality behind the mxs command seems to be broken&lt;/P&gt;
&lt;P&gt;even after i assign false , the next call to the function ( without the assignement part) returns "true" .&amp;nbsp; I tested in Max 2021 and Max 2020 and while Max 2020 accepted and stuck to the "false" value , the light in the viewport still was view dependent.&lt;/P&gt;
&lt;P&gt;So i suspect turning this option OFF has been non-working for some releases already, and Max 2021 simple reflects the correct internal state when using the mxs command&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 07:49:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/default-lights-follow-view-angle-toggle-script-request/m-p/10113383#M18769</guid>
      <dc:creator>spacefrog_</dc:creator>
      <dc:date>2021-02-26T07:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Default Lights Follow View Angle toggle - script request</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/default-lights-follow-view-angle-toggle-script-request/m-p/10113848#M18770</link>
      <description>&lt;P&gt;Hey Spacefrog, thanks so much for the input! To be honest with you the main problem I'm having is that when I switch between shading styles and go back to "Performance" the Default Light is always unticked and I need to navigate to the Viewport and Settings Preference window to change it back.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your command works! Can I ask where you found that line of code? because it doesn't appear in the MAXScript Listener when you tick/untick the checkbox in the settings window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the line with TRUE or FALSE it seems to work regardless, but are you saying it's impossible to create a toggle type script because of an internal error? obviously I can place each command as a single action on the toolbar, but a single ON/OFF toggle command would be brilliant.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 11:26:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/default-lights-follow-view-angle-toggle-script-request/m-p/10113848#M18770</guid>
      <dc:creator>345243235</dc:creator>
      <dc:date>2021-02-26T11:26:17Z</dc:date>
    </item>
  </channel>
</rss>

