<?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: Vred2019 Pro - what happen to python execfile ?! in VRED Forum</title>
    <link>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7955382#M7371</link>
    <description>&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yeah I agree, it was quite a security issue, but at the same time in closed networks, it did not matter and allowed us&amp;nbsp; to build up quite a few systems on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, how can we tell vred to execute a script after he finish his startup procedure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
    <pubDate>Tue, 24 Apr 2018 12:12:20 GMT</pubDate>
    <dc:creator>Bob.Bon2000</dc:creator>
    <dc:date>2018-04-24T12:12:20Z</dc:date>
    <item>
      <title>Vred2019 Pro - what happen to python execfile ?!</title>
      <link>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7948188#M7367</link>
      <description>&lt;P&gt;What is the new replacement for :&lt;/P&gt;&lt;PRE&gt;s.send(&lt;SPAN&gt;"/python?value=execfile('C://test//x.py)'"&lt;/SPAN&gt;.encode())&lt;/PRE&gt;&lt;P&gt;All I get is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Couldn't execute command 'execfile('C://test//...'!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 14:46:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7948188#M7367</guid>
      <dc:creator>Bob.Bon2000</dc:creator>
      <dc:date>2018-04-20T14:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Vred2019 Pro - what happen to python execfile ?!</title>
      <link>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7951560#M7368</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in 2019 we made some changes regarding the security of some Python calls. However, you can revert it&amp;nbsp;by starting VRED with the command line option "-insecure_python". Hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 06:29:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7951560#M7368</guid>
      <dc:creator>marcus_fritzen</dc:creator>
      <dc:date>2018-04-23T06:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Vred2019 Pro - what happen to python execfile ?!</title>
      <link>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7953178#M7369</link>
      <description>&lt;P&gt;Hmm I had a feeling this is going to happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will this functionality remain or it will be removed within next 10 releases?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:49:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7953178#M7369</guid>
      <dc:creator>Bob.Bon2000</dc:creator>
      <dc:date>2018-04-23T16:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Vred2019 Pro - what happen to python execfile ?!</title>
      <link>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7953377#M7370</link>
      <description>There will never be a solution that fits for all. But if an IT department of a company with hundreds of licenses sees this as a security issue and showstopper to roll out ... we do these adjustments. Sorry if it broke something else.</description>
      <pubDate>Mon, 23 Apr 2018 17:53:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7953377#M7370</guid>
      <dc:creator>seiferp</dc:creator>
      <dc:date>2018-04-23T17:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Vred2019 Pro - what happen to python execfile ?!</title>
      <link>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7955382#M7371</link>
      <description>&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yeah I agree, it was quite a security issue, but at the same time in closed networks, it did not matter and allowed us&amp;nbsp; to build up quite a few systems on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, how can we tell vred to execute a script after he finish his startup procedure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:12:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7955382#M7371</guid>
      <dc:creator>Bob.Bon2000</dc:creator>
      <dc:date>2018-04-24T12:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Vred2019 Pro - what happen to python execfile ?!</title>
      <link>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7955416#M7372</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as I wrote, your code will work like in previous versions if you start VREDPro with the command line option&lt;/P&gt;
&lt;P&gt;"-insecure_python". You can add it e.g. to the desktop shortcut by right-click on the shortcut -&amp;gt; Properties, there you need to add it to the "Target" which should end up in something like this:&amp;nbsp;"C:\Program Files\Autodesk\VREDPro-11.0\bin\WIN64\VREDPro.exe" -insecure_python.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another solution would be to use another command line option called "-postpython", which will execute after VRED has launched or loaded a scene (see command line option description: VREDPro.exe --help).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:22:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7955416#M7372</guid>
      <dc:creator>marcus_fritzen</dc:creator>
      <dc:date>2018-04-24T12:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Vred2019 Pro - what happen to python execfile ?!</title>
      <link>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7965546#M7373</link>
      <description>&lt;P&gt;Humh... bit tricky. Is there no folder in vred like plugins/autostart or something like that where we could place .py files and let vred auto execute them on start?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 15:23:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7965546#M7373</guid>
      <dc:creator>Bob.Bon2000</dc:creator>
      <dc:date>2018-04-27T15:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Vred2019 Pro - what happen to python execfile ?!</title>
      <link>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7968860#M7374</link>
      <description>&lt;P&gt;No, there is no autostart folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 07:28:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/vred2019-pro-what-happen-to-python-execfile/m-p/7968860#M7374</guid>
      <dc:creator>marcus_fritzen</dc:creator>
      <dc:date>2018-04-30T07:28:15Z</dc:date>
    </item>
  </channel>
</rss>

