Notifications
Clear all
[Closed] backburner command-line
Page 2 / 2
Prev
Feb 26, 2012 10:11 pm
2012 design
"c:\program files\autodesk\3ds max design 2012\3dsmaxcmd" -submit:theIPaddressOfServer -jobName="theJobName" -o="\\ServerName\ShareName\ImageName_.png" -cam="CameraName" -w=ImageWidth -h=ImageHeight -frames=theFirstFrametoRender-theLastFrametoRender "\\ServerName\ShareName heMaxFile.max"
save as .bat > execute
Feb 26, 2012 10:11 pm
As I mention before, I want to render ActiveTimeRange!
How you get theFirstFrametoRender or theFirstFrametoRender without opening the max file?
1 Reply
I just re-read this, when you run the batch you never open the file. I am having a hard time understanding what you want.
Paste the string in a text file, save as .bat, fill in your own values, save, double click the bat file, it renders to backburner.
Feb 26, 2012 10:11 pm
I think problem is from 3dsmax file properties, there is an wrong Animation Start and Animation End properties! , backburner gets properties from here.you can test this code:
-- Perform a scene hold to update the Contents set.
max hold
--
-- Get all properties
pages = #(#summary, #contents, #custom)
for pg in pages do
(
format "--- % ---
" (pg as string)
for i=1 to (fileProperties.getNumProperties pg) do
(
local pname = (fileProperties.getPropertyName pg i)
local pval = (fileProperties.getPropertyValue pg i)
format " % : " pname
if (pname == "Headers") then
(
format "
"
for hdr in pval do
(
format " %
" hdr
local docs = fileProperties.getItems hdr
if docs != undefined then
for d in docs do format " %
" d
)
)
else format " %
" pval
)
)
Page 2 / 2
Prev