<?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: Batch Render Manager, scripting camera name in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4762629#M16446</link>
    <description>&lt;P&gt;Thanks TD,&amp;nbsp;your code is very&amp;nbsp;enlightening for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Swordslayer nailed&amp;nbsp;the immediate issue&amp;nbsp;so my&amp;nbsp;baseline script does what I need now, which is store BRM data so I can make changes with the confidence that I have backups. I originally imported my BRM data from an Adobe Premiere "Edit Decision List", which&amp;nbsp;provides shot names and in-out points (i.e time range). I've got a 20 minute green-screen episode to&amp;nbsp;immerse in&amp;nbsp;a CG environment. The next step is&amp;nbsp;conjnecting Max cameras to each shot&amp;nbsp;thus created in the BRM. Then I can use the BRM to render tests by altering the time ranges via script, and toggle back and forth with Final render resolutions and ranges. Not having that level of render-time control was a big hurdle in this (obviously indie) production.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jan 2014 16:51:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-20T16:51:08Z</dc:date>
    <item>
      <title>Batch Render Manager, scripting camera name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4745767#M16439</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the following lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vExp=batchRenderMgr.GetView 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vExp.camera = $CamKcg1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The BRM UI updates properly, but if my camera's name has a space or a dash it gets parsed improperly.&lt;/P&gt;&lt;P&gt;Can anyone tell me how to enter&amp;nbsp;a camera name&amp;nbsp;like "CamK-CG2" in my script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I usually rely on the help docs, but I'm in over my head.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. as long as I'm asking...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My plan is to script a routine to export BRM info&amp;nbsp;to a space-delimited text file and a second script to re-import that. I have over 500 separate shots I'd like to cut between during this animation and I want/need the ability to spreadsheet wholesale changes to render resolution and whatnot during testing. So&amp;nbsp;in my export&amp;nbsp;script, what is the best way to extract&amp;nbsp;a&amp;nbsp;camera's node.name or string or whatever... these lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nodeCamera=vExp.camera&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vCamera=nodeCamera as string&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...give me a troublesome string that I'll have to walk through and snip up before I save it.&lt;/P&gt;&lt;P&gt;(e.g.: $Target_Camera:CamKcg1 @ [0.000000,-120.000000,245.499985] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reading, and for any hints you can give me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2014 05:37:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4745767#M16439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-13T05:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Render Manager, scripting camera name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4746321#M16440</link>
      <description>&lt;P&gt;You can always use &lt;FONT face="courier new,courier"&gt;getNodeByName&lt;/FONT&gt; function, but of course you can also do it the way you want, just add '':&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;vExp.camera = $'CamK-CG2'&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Jan 2014 08:54:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4746321#M16440</guid>
      <dc:creator>Swordslayer</dc:creator>
      <dc:date>2014-01-13T08:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Render Manager, scripting camera name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4747465#M16441</link>
      <description>&lt;P&gt;\facepalm\&lt;/P&gt;&lt;P&gt;Perfect! Single quotes solves the first bit, thanks and kudos!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2014 17:03:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4747465#M16441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-13T17:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Render Manager, scripting camera name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4759981#M16442</link>
      <description>&lt;P&gt;Okay, I'm further down the rabbit hole now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;"filterString" each line from my exported text/data file into:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;FONT color="#000080"&gt; lineMatrix: #("true", "true", "27260f", "27385f", "1920", "1080", "1.0", "167-K-01-a-m", "U:\Prohib\RenderOutput\K-01-a-m-167.png", "CamKa1")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I begin assigning each value to the Batch Render Manager view para&lt;FONT color="#666699"&gt;me&lt;/FONT&gt;ters:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#000080"&gt;vExp = batchRenderMgr.createView&amp;nbsp; $Camera001&amp;nbsp;&amp;nbsp; &lt;FONT color="#339966"&gt;--Actually sets the view's camera to "Viewport" for some reason.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#000080"&gt;vExp.enabled&amp;nbsp;&amp;nbsp;&amp;nbsp;= lineMatrix[1] as booleanclass&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#339966"&gt;--snipped out my list of other view parameter assignments, those all work fine&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&lt;FONT color="#339966"&gt;&amp;nbsp;&amp;nbsp;--String for camera name is not converting to the format needed for assignment to BRM data.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --One of the various Errors I've gotten&amp;nbsp;is: "&lt;FONT color="#ff6600"&gt;Unable to convert: #CamKa1 to type: &amp;lt;node&amp;gt;&lt;/FONT&gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CamName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= (( trimRight ( trimLeft lineMatrix[10] "\"" ) "\"" )) as name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#339966"&gt;-- removes the quotes from the "linematrix" string entries&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#339966"&gt;-- I've also tried things like:&lt;/FONT&gt; CamName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= ( "$"&amp;nbsp;+ "'" + ( trimright ( trimleft lineMatrix[10] "\"" ) "\"" ) + "'")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;FONT color="#008080"&gt;&amp;nbsp;-- and:&lt;/FONT&gt; CamName&amp;nbsp;&amp;nbsp;= $'CamKa1'&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#339966"&gt;--This works as a test, but does not interact with txt file&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vExp.camera&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp; CamName&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#666699"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#666699"&gt;So the Question is:&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#666699"&gt;How can I retrieve a string from my text file (originally exported from Batch Render data) and&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;FONT color="#666699"&gt;use that data (name of the camera?) to assign a camera to&amp;nbsp;a new&amp;nbsp;Batch Render View's camera property?&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2014 17:20:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4759981#M16442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-18T17:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Render Manager, scripting camera name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4759989#M16443</link>
      <description>&lt;P&gt;As I've already said before, &lt;FONT face="courier new,courier"&gt;getNodeByName&lt;/FONT&gt; is the function you are looking for &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2014 17:28:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4759989#M16443</guid>
      <dc:creator>Swordslayer</dc:creator>
      <dc:date>2014-01-18T17:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Render Manager, scripting camera name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4760017#M16444</link>
      <description>&lt;P&gt;Oh, hay, look at that it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had misunderstood you before, and tried to use getnodebyname before I exported to the text file, but now I've got it working during the import phase.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2014 17:40:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4760017#M16444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-18T17:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Render Manager, scripting camera name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4761343#M16445</link>
      <description>&lt;P&gt;Hi, Just seen your post. Have you resolved the issues you were having or do you still need some pointers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script I have written does the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UI to create cameras of different lenses, distances, target heigh and camera height aimed at a centralised location&lt;/P&gt;&lt;P&gt;Cameras are collected and stored in a dotnet treeview with Rclick features&lt;/P&gt;&lt;P&gt;User output location for renders&lt;/P&gt;&lt;P&gt;Folder and directory creation&lt;/P&gt;&lt;P&gt;Option for overwrite files&lt;/P&gt;&lt;P&gt;Batch render manager population&lt;/P&gt;&lt;P&gt;Deadline submission for network rendering.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, though you probably know this, if you have the BRM open while trying to update it, it will only do so once you close it and re open it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can certainly put up some code about the BRM if you still need it. Let me know what you are looking to achieve and I will see if what I have can help. In the meantime, here is a fundamental script that will take cameras from the scene and create views and output paths. You will see I have a generic path for the location, but you can adjust this to suit your needs. The full function I have in the script I am writing takes data from the UI I created to help the artist make cameras, not just ones that are already in scene, but it works just the same here. I have left out the parts where you need to set the range and output size. They should not be an issue if you look up the settings in the help files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I would look at sorting the arrays so that you get a ascending list in the BRM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope the attached can help you and others if they need it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2014 08:21:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4761343#M16445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T08:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Render Manager, scripting camera name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4762629#M16446</link>
      <description>&lt;P&gt;Thanks TD,&amp;nbsp;your code is very&amp;nbsp;enlightening for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Swordslayer nailed&amp;nbsp;the immediate issue&amp;nbsp;so my&amp;nbsp;baseline script does what I need now, which is store BRM data so I can make changes with the confidence that I have backups. I originally imported my BRM data from an Adobe Premiere "Edit Decision List", which&amp;nbsp;provides shot names and in-out points (i.e time range). I've got a 20 minute green-screen episode to&amp;nbsp;immerse in&amp;nbsp;a CG environment. The next step is&amp;nbsp;conjnecting Max cameras to each shot&amp;nbsp;thus created in the BRM. Then I can use the BRM to render tests by altering the time ranges via script, and toggle back and forth with Final render resolutions and ranges. Not having that level of render-time control was a big hurdle in this (obviously indie) production.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2014 16:51:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4762629#M16446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T16:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Render Manager, scripting camera name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4762741#M16447</link>
      <description>&lt;P&gt;Thank you for the kudos, I do believe that that is my first!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not used EDL files before, can they be opened or exposed to see the contents? There may be a way to read in the contents and filter it for the data you need, though this may not be the direction you want to go.&lt;/P&gt;&lt;P&gt;I will have to have a look into this as we use premiere at the studio and it may be something we can utilise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you use any other languages i.e Python, XML etc? Could be a solution there as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img id="robothappy" class="emoticon emoticon-robothappy" src="https://forums.autodesk.com/i/smilies/16x16_robot-happy.png" alt="Robot Happy" title="Robot Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2014 17:41:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4762741#M16447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T17:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Render Manager, scripting camera name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4762775#M16448</link>
      <description>&lt;P&gt;I try to keep my coding to a minimum these days, never learned the more modern languages.&lt;/P&gt;&lt;P&gt;I self-teach the scripting language of whatever software I'm using, as needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDL is&amp;nbsp;just a text-output file from premiere that lists the edit points of every block of time in a sequence.&lt;/P&gt;&lt;P&gt;Looks like:&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:15:05&amp;nbsp;&amp;nbsp; 00:00:26:05&amp;nbsp;&amp;nbsp; Universal Counting Leader&lt;BR /&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:30:16&amp;nbsp;&amp;nbsp; 00:00:34:08&amp;nbsp;&amp;nbsp; D-01-a-m Side View Transport&lt;BR /&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:35:06&amp;nbsp;&amp;nbsp; 00:00:40:06&amp;nbsp;&amp;nbsp; Shot 0001-Transp Flyby-002.mov&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Index numbers&amp;nbsp;6 and 8 are blackspace on the timeline in that sample. The file usually begins at 1, numbering continuously.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's all I do to import the EDL data &amp;amp;colon; ( I just 'execute all' from the script editor, haven't yet structured this as a function&amp;nbsp;or anything...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;intViews= batchRenderMgr.numViews&lt;BR /&gt;global strOutputPath = "U:\\SWprohib\\RenderOutput\\"&amp;nbsp;&amp;nbsp; --Path for video render file output&lt;BR /&gt;StrIntViews= intViews as string&lt;BR /&gt;&lt;BR /&gt;-- clear out dialog&lt;BR /&gt;if querybox "Clear out Batch Render dialog entries?" beep:true do&lt;BR /&gt;for intCount=1 to intViews do&lt;BR /&gt;(&lt;BR /&gt;batchRenderMgr.DeleteView 1&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;-- Parse EDL file (txt file created from pPro exported "Edit Decision List" data)&lt;BR /&gt;&lt;BR /&gt;global diaFileOpen = getOpenFileName caption:"Open EDL File:" filename:"U:\\prohib\\testEDL-01.txt"&lt;BR /&gt;global fsDataFile = openfile diaFileOpen mode:"rS"&lt;BR /&gt;&lt;BR /&gt;while not eof fsDataFile do&lt;BR /&gt;(&lt;BR /&gt;global strFileTextLine = readline fsDataFile&lt;BR /&gt;if strFileTextLine != "" do&lt;BR /&gt;(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lineMatrix = filterString strFileTextLine " "&lt;BR /&gt;camNumber = lineMatrix[1]&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;beginTime = lineMatrix[2]&lt;BR /&gt;cBgT =filterString beginTime ":"&lt;BR /&gt;begintime = cBgT[2]+ "m" + cBgT[3] + "s" + cBgT[4]+ "f"&lt;BR /&gt;beginTime=beginTime as time&lt;BR /&gt;&lt;BR /&gt;endTime = lineMatrix[3]&lt;BR /&gt;cEnT =filterString endTime ":"&lt;BR /&gt;endTime = cEnT[2]+ "m" + cEnT[3] + "s" + cEnT[4]+ "f"&lt;BR /&gt;endTime =endTime as time&lt;BR /&gt;&lt;BR /&gt;viewName = lineMatrix[4]&lt;BR /&gt;&lt;BR /&gt;--Create views from each line in EDL data file&lt;BR /&gt;&lt;BR /&gt;RenderPathName = "aa"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- add feature: type in or prompt user for output image file path&lt;BR /&gt;renderViewName =&amp;nbsp;&amp;nbsp;&amp;nbsp; camnumber+"-"+viewName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- parse name from file&lt;BR /&gt;completeFilename =&amp;nbsp;&amp;nbsp; strOutputPath + viewName + "-" + camNumber&amp;nbsp; + ".png"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- concatenate string to pass&lt;BR /&gt;&lt;BR /&gt;timeStartFrame =&amp;nbsp;&amp;nbsp; beginTime - 5f&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- parse timecodes from file&lt;BR /&gt;timeEndFrame =&amp;nbsp; endTime + 5f&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Add 5 frame heads/tails&lt;BR /&gt;&lt;BR /&gt;outputWidth = 1920&lt;BR /&gt;outputHeight = 1080&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;newRenderView = batchRenderMgr.createView&amp;nbsp; $Camera001&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- wants a camera node argument here&lt;BR /&gt;newRenderView.enabled = true&lt;BR /&gt;newRenderView.overridePreset = true&lt;BR /&gt;newRenderView.startFrame = timeStartFrame&lt;BR /&gt;newRenderView.endFrame = timeEndFrame&lt;BR /&gt;newRenderView.width = outputWidth&lt;BR /&gt;newRenderView.height = outputHeight&lt;BR /&gt;newRenderView.pixelAspect = 1&lt;BR /&gt;newRenderView.name = renderViewName&lt;BR /&gt;/*&lt;BR /&gt;Trap error here?&lt;BR /&gt;"Runtime error: The parameter is invalid."&lt;BR /&gt;happens when view name already exists in list&lt;BR /&gt;*/&lt;BR /&gt;newRenderView.outputFilename =&amp;nbsp; completeFilename&lt;BR /&gt;newRenderView.camera=$'Target_Camera:CamK stab1'&amp;nbsp; --random default camera&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2014 18:04:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4762775#M16448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T18:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Render Manager, scripting camera name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4764063#M16449</link>
      <description>&lt;P&gt;I will have a look at this later today or tomorrow as I have got some stuff to finalise today. Does this do what you want or does it produce errors? As said, not had much time to look yet, but a laymans overview of the result will be handy as I will keep it in mind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Well, I guess I should have looked a little further down as I see you have a commented out part. Doh!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am much the same with languages, I learn as I go, it works for me!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2014 10:48:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/batch-render-manager-scripting-camera-name/m-p/4764063#M16449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-21T10:48:43Z</dc:date>
    </item>
  </channel>
</rss>

