Notifications
Clear all
[Closed] Save Last Render
Apr 07, 2008 12:45 pm
I’m writing a script that saves the max file and the last render with the same name.
GetLastRenderedImage() Returns a Bitmap Value, how do I save this to a file?
2 Replies
Apr 07, 2008 12:45 pm
Getting somewhere, but stuck on this at the moment.
qRender = GetLastRenderedImage()
RPath = Execute("G: est01.jpg" as string)
qRender.filename = RPath
Save qRender
– Error occurred during fileIn in StringStream:“G: est01.jpg”
– Syntax error: at keyword parameter, expected <factor>
– In line: G: e
– Unable to convert: undefined to type: FileName
– Runtime error: Bitmap requires a fileName for save(): BitMap:
How do I get round the /t issue?
Apr 07, 2008 12:45 pm
qRender = GetLastRenderedImage()
--RPath = Execute( as string)
qRender.filename = "G:/test01.jpg"
Save qRender
Yay, that works,
Dave
Ps Sorry have to voice these things sometimes to work out how to fix them.