Dict from mtr object parsing

marker's icon

The dict family seems (is) really powerfull but is really badly explained in the documentation. What does this mean obj:dictionary:u824004962? And how can i get data out of it in max format? I want to get the data out of the dicts that the mtr object generates when sending it a dump message or an info message. I need this to visualize some of the data stored in indivual tracks.
What is the method for this?

Martin Beck's icon
marker's icon

Thx @martin, ill have a look at it.

geofholbrook's icon

In javascript you also have something called JSON.stringify(object) ... basically it turns a dict into a string. Even more readable is if you pass extra arguments that adds carriage returns and indentation: JSON.stringify(object, null, 4)
Maybe this is useful to you in combination with the above comment?