Access AppData of an Xref file


#1

Hi all,

Working on a tool to help us better manage xrefs and I’m wondering if I setAppData to the rootNode of one scene and I Xref that scene into another file how can I access it?

File A
setAppData rootNode -500 “Dataz”

File B
Bring in XRef A

How from file B can I access the rootNode of File A?

I’ve tried a variety of things related to

rootNodeXref = (xrefs.getXrefFile 1)
getAppData rootNodeXref(rootNode) -500

but clearly I don’t have a good grasp of the structure of files.

Any insight?

Thanks!


#2
rootNodeXref = (xrefs.getXrefFile 1)
rootNodeXref.tree

this is the root object (Node) what you look for


#3

Thanks Denis, knew I was close!