<?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: Open a vpb file from a script in VRED Forum</title>
    <link>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12096548#M1105</link>
    <description>Nice!! many thanks!!!!!</description>
    <pubDate>Wed, 12 Jul 2023 12:53:00 GMT</pubDate>
    <dc:creator>leonardo.k</dc:creator>
    <dc:date>2023-07-12T12:53:00Z</dc:date>
    <item>
      <title>Open a vpb file from a script</title>
      <link>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12091990#M1103</link>
      <description>&lt;P&gt;Hey guys, need a little help here.&lt;/P&gt;&lt;P&gt;I have a lot os files sometimes to open, and I wonder if is possible to make a VSET with some script that I can open this files.&lt;/P&gt;&lt;P&gt;I try with getOpen but this way Vred open the File&amp;gt;Open Menu, and I need to open the vpb files direct from script.&lt;/P&gt;&lt;P&gt;Can anyone help me on that?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 19:17:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12091990#M1103</guid>
      <dc:creator>leonardo.k</dc:creator>
      <dc:date>2023-07-10T19:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Open a vpb file from a script</title>
      <link>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12093740#M1104</link>
      <description>vrFileIOService.loadFile('C:/ProgramData/Autodesk/VREDPro-16.0/examples/Automotive_Genesis.vpb')</description>
      <pubDate>Tue, 11 Jul 2023 13:24:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12093740#M1104</guid>
      <dc:creator>__daniel.lincoln__</dc:creator>
      <dc:date>2023-07-11T13:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Open a vpb file from a script</title>
      <link>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12096548#M1105</link>
      <description>Nice!! many thanks!!!!!</description>
      <pubDate>Wed, 12 Jul 2023 12:53:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12096548#M1105</guid>
      <dc:creator>leonardo.k</dc:creator>
      <dc:date>2023-07-12T12:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Open a vpb file from a script</title>
      <link>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12096614#M1106</link>
      <description>This works, but the file is open inside the one that I already using, there is a way to close the open file and then open the next one?</description>
      <pubDate>Wed, 12 Jul 2023 13:15:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12096614#M1106</guid>
      <dc:creator>leonardo.k</dc:creator>
      <dc:date>2023-07-12T13:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Open a vpb file from a script</title>
      <link>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12096870#M1107</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This should do what you asked, but it sounds like you may need to setup some type of batch process.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import subprocess
subprocess.Popen(["C:/Program Files/Autodesk/VREDPro-16.0/bin/WIN64/VREDPro.exe", "C:/ProgramData/Autodesk/VREDPro-16.0/examples/Automotive_Genesis.vpb"])
terminateVred()&lt;/LI-CODE&gt;&lt;P&gt;There are some batch processing examples here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/VREDPRODUCTS/2024/ENU/?guid=VRED_Tutorials_VREDCore_Tutorials" target="_blank"&gt;https://help.autodesk.com/view/VREDPRODUCTS/2024/ENU/?guid=VRED_Tutorials_VREDCore_Tutorials&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 14:37:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12096870#M1107</guid>
      <dc:creator>__daniel.lincoln__</dc:creator>
      <dc:date>2023-07-12T14:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Open a vpb file from a script</title>
      <link>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12098624#M1108</link>
      <description>&lt;P&gt;You can try using a vrFileIOService.newScene() before to load your file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or using the V1 Api&lt;/P&gt;
&lt;P&gt;vrFileIO.load(filename, filenames, parent, newFile, showImportOptions)&lt;/P&gt;
&lt;P&gt;with newfile True should call a newScene() before to load&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 07:23:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/open-a-vpb-file-from-a-script/m-p/12098624#M1108</guid>
      <dc:creator>Christian_Garimberti</dc:creator>
      <dc:date>2023-07-13T07:23:49Z</dc:date>
    </item>
  </channel>
</rss>

