PDA

View Full Version : Simple Load Command?


Technofreak
04-07-2004, 09:04 PM
whats wrong here?

files = "D:\\3dsmax6\\maxstart.max"
loadMaxFile files

it's not loading..............:surprised

Technofreak
04-07-2004, 09:11 PM
myDir = getdir #scene + "\\"
files = (myDir as string + "maxstart.max")
loadMaxFile files


is there a better way?

thank you

Technofreak
04-07-2004, 09:18 PM
startFile = (getdir #scene + "\\maxstart.max")
loadMaxFile startFile

is there a better way?

thanks

Bobo
04-07-2004, 09:35 PM
Originally posted by Technofreak
startFile = (getdir #scene + "\\maxstart.max")
loadMaxFile startFile

is there a better way?

thanks

Not really, the shortest notation you can get is

loadMaxFile (getdir #scene + "/maxstart.max")

Technofreak
04-07-2004, 09:55 PM
thanks man..........

magicm
04-08-2004, 11:18 AM
Originally posted by Bobo
Not really, the shortest notation you can get is

loadMaxFile (getdir #scene + "/maxstart.max")

not true!
loadMaxFile "$scenes/maxstart.max"

:p

- Martijn

CGTalk Moderation
01-18-2006, 12:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.