- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When I run the following lines:
vExp=batchRenderMgr.GetView 1
vExp.camera = $CamKcg1
The BRM UI updates properly, but if my camera's name has a space or a dash it gets parsed improperly.
Can anyone tell me how to enter a camera name like "CamK-CG2" in my script?
I usually rely on the help docs, but I'm in over my head.
P.S. as long as I'm asking...
My plan is to script a routine to export BRM info 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 in my export script, what is the best way to extract a camera's node.name or string or whatever... these lines:
nodeCamera=vExp.camera
vCamera=nodeCamera as string
...give me a troublesome string that I'll have to walk through and snip up before I save it.
(e.g.: $Target_Camera:CamKcg1 @ [0.000000,-120.000000,245.499985] )
Thanks for reading, and for any hints you can give me!
Solved! Go to Solution.
