Notifications
Clear all

[Closed] ASCII 2D tracking data to max

I have 2D tracking data from PFtrack as .txt file.
I need a MAXscript what would create Point helper for each tracker in Max and would animate in on X/Y axis according to the data in the file for each frame.

Example of the txt file here:
https://www.dropbox.com/s/2n7j5zp882kcr0x/PFtrack-Test.txt

Similar problem is described in following post form 2011
http://forums.cgsociety.org/archive/index.php/t-988155.html
however script offered as a solution in that thread doesn’t work for me:

–Runtime error: No method found which matched argument list.

Thanks .

6 Replies

Could you give us the full error-print from your Listener, with the line-numbers etc?

I just tried that script on your data, and it worked fine for me

(although all the points default to [0,0,0] for frame 0, but that’d be easy enough to fix)

Here is full error:

– Error occurred in anonymous codeblock; filename: C:\Dropbox\fx\pasha esttr4.ms; position: 164; line: 3
– Frame:
– quot: undefined
– obj: undefined
– allLines: undefined
– space: undefined
– frames: undefined
– pos: undefined
– fname: undefined
– Error occurred during fileIn in <File:C:\Dropbox\fx\pasha esttr4.ms>
>> MAXScript FileIn Exception: – Runtime error: No method found which matched argument list <<

Could you post the script too, or a link to it?

The line-number for the error you give there (line 3) doesn’t appear to match up with anything untoward in the script splinterD posted at the end of that thread – did you copy/paste it correctly?

Really appreciate you looking in to this,
Here is the script:

https://www.dropbox.com/s/o54n3eyzwj8o2z6/testtr4.ms

Here is another script what i found what is also suppose to parse this tracking data:

https://www.dropbox.com/s/i90dfyhqpo34gqr/testt2r.ms

Now the error i got on that one is:

– Error occurred in anonymous codeblock; filename: C:\Dropbox\fx\pasha estt2r.ms; position: 258; line: 8
– Frame:
– _pt: $
– frameCount: undefined
– Error occurred during fileIn in <File:C:\Dropbox\fx\pasha estt2r.ms>
>> MAXScript FileIn Exception: – Runtime error: Read past end of file <<

Try using the second script from that thread, that’s the one that worked for me:

WORKS!
guplik, thank you so much.