RAYMOND Posted January 12, 2006 Share Posted January 12, 2006 what is the maxscript line to get the file path of where the current open max file is. :D Link to comment Share on other sites More sharing options...
theqball Posted January 13, 2006 Share Posted January 13, 2006 What is it you are trying to do? There might be better ways of storing this as a variable. Link to comment Share on other sites More sharing options...
RAYMOND Posted January 14, 2006 Author Share Posted January 14, 2006 i have 12 camera's each with a view i don't want to change. also, the output file is also different. with the render function this can be done easily. but i have to get the path of where the open max is then add on a sub directory for the image to be saved plus its name.. so i have to parse then catinate the string to get the path i need.... i do this with lisp a lot but maxscript i don't know how you get the current path that max is from... doing this would really save a lot of steps.... i looked around in scriptspot but did see anything to match this... i don't see any other way to do this except by maxscript. Link to comment Share on other sites More sharing options...
quizzy Posted January 15, 2006 Share Posted January 15, 2006 do I understand correctly that you want to render 12 camera's and save them to the max-file path with names like cam01.jpg, cam02.jpg, etc...??? Link to comment Share on other sites More sharing options...
quizzy Posted January 15, 2006 Share Posted January 15, 2006 to give you a really short answer though: maxfilepath that will do the trick, you can put this in a variable if you want. a = maxfilepath puts the path of the current max file that is open as a string in variable "a" Link to comment Share on other sites More sharing options...
RAYMOND Posted January 16, 2006 Author Share Posted January 16, 2006 yes that's basically what I need. this will eliminate a lot of steps... to shoot 12 camera's to 12 saved jpgs. also to on and off different daylight settings... Link to comment Share on other sites More sharing options...
quizzy Posted January 16, 2006 Share Posted January 16, 2006 you could make things a lot easier by downloading my camera animator script from my website... Link to comment Share on other sites More sharing options...
RAYMOND Posted January 16, 2006 Author Share Posted January 16, 2006 thanks Michiel however i got some script error trying to run i just draged the script into a tool button. r Link to comment Share on other sites More sharing options...
quizzy Posted January 16, 2006 Share Posted January 16, 2006 this looks like you're messing up the ( and the )'s in your script, if you want you can attach the script to a message or email me the script and i'll have alook at it... not today but tomorrow maybe... Link to comment Share on other sites More sharing options...
RAYMOND Posted January 16, 2006 Author Share Posted January 16, 2006 ok... looks like this is what i need tho..... very primative with script writing so you dealing with someone at the kindergarden level... you seem to a good person to hang on to... mahalo, r Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now