ungoliath
04-08-2009, 07:08 PM
This is code I copied from another thread except that I replaced .dat w/ .csv
in_name = "C:\test.dat"
in_file = openfile in_name
with animate on
(
while not eof in_file do
(
slidertime = slidertime + 5 -- need to account for time values somehow: could also read in
x = readvalue in_file
y = readvalue in_file
z = readvalue in_file
skiptonextline in_file
$box01.position = point3 x y z
)
)
These are the errors that I get
No ""eof"" function for undefined <<
for "C: est.csv"
Then I took out the eof bits and got
No ""readValue"" function for undefined
I'm extremely new to maxscript and pretty sure there's some minor detail I'm missing. Can anyone shed some light on what's up w/ that?
in_name = "C:\test.dat"
in_file = openfile in_name
with animate on
(
while not eof in_file do
(
slidertime = slidertime + 5 -- need to account for time values somehow: could also read in
x = readvalue in_file
y = readvalue in_file
z = readvalue in_file
skiptonextline in_file
$box01.position = point3 x y z
)
)
These are the errors that I get
No ""eof"" function for undefined <<
for "C: est.csv"
Then I took out the eof bits and got
No ""readValue"" function for undefined
I'm extremely new to maxscript and pretty sure there's some minor detail I'm missing. Can anyone shed some light on what's up w/ that?
