Hi All,
I wonder if it is possible to list the camera names in the scene and save it to a .txt or .csv file on file system.
Can this be possible through Max Script or any other way? Even an external command without opening the scene will work.
Thanks in advance for your suggestions.
Solved! Go to Solution.
Solved by Steve_Curley. Go to Solution.
for cam in cameras do (print cam.name)
Hi Steve,
I will need the same for a couple hundred scenes. Looks like I need to learn max script and somehow automate it.
Thank you for you suggestion.
Actually I will really appreciate that if you can take a look to suggest for a proper script.
I allready started to study on MaxScript but it is still different to hear from a pro.
Cheers...
( Cams = for Cam in cameras where (superclassof Cam == camera) collect Cam if Cams.count > 0 then ( output_name = getSaveFileName caption:"Text File" types:"Text (*.txt)|*.txt|All Files (*.*)|*.*|" if output_name != undefined then ( output_file = createfile output_name if output_file != undefined then ( for Cam in Cams do format "%\n" Cam.name to:output_file close output_file ) ) ) )Load that into the Maxscript Editor (not the Listener), select all, drag the whole thing to a Toolbar - it will create a button for you which you can customise if you want. Attached it (zipped) in case copy/pasting from the forum doesn't work.
Hi Steve,
It works like a charm. You cant imagine how much time I will save with the help of this script.
Thank you very much for your interest and help.
Cheers.
Can't find what you're looking for? Ask the community or share your knowledge.