detect link between geometry
I'm writing my first max script but I'm stuck at the point of detecting a link between 2 objects (geometry).
The script basically write to an xml file some info about the scene.
I take the selection and write each item to the file. so now I want to add link info.
how can I detect if an object is linked to an other, get the other object's name and detect what's there relation (parent-child) ?
hope I make myself clear ,