How can I read the data from text file (.txt) ?
Now i have some data written in text file (.txt).
e.g.:
X 10 Y 20 Z 30
Length 40 Width 50 Height 60
I want to use this data to draw a box in the 3ds max. However, I want the software can read and understand well the text file, so that I don't need to creat an new text file which contains only the integer. How can I do that? Is there any helpful scripts or functions? for example how to skip the letter in the text file when I read the integer ?
Comments
ReadFile is detailed in the
ReadFile is detailed in the help file or common reference materials. (aka books)
Parsing your data is just simple text manipulation and conversion to the correct variables you need.
Simple stuff.