title: Can I access model tree object data / attributes in Acrobat scripting?
body: <p>I'm looking to write a simple javscript script for Adobe Acrobat that looks through a PDF for "Objects" of the type that are selectable through Tools > Analyze > Object Data Tool and browsable in the "Model Tree", then look at their attributes, and convert them using attribute data.</p>
  
  <p>I've been through the <a href="http://help.adobe.com/livedocs/acrobat_sdk/10/Acrobat10_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Acrobat10_SDK_HTMLHelp&amp;file=JS_Dev_Overview.71.1.html" rel="nofollow noreferrer">docs</a> but can't find anything relevant. It's possible that what I'm looking for has a different name. Closest I could find was <a href="http://help.adobe.com/livedocs/acrobat_sdk/10/Acrobat10_HTMLHelp/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Acrobat_SDK_whats_new.14.7.html&amp;accessible=true" rel="nofollow noreferrer"><code>dataObjects and the Data class</code></a> but these appear to revolve around  attached files in a PDF portfolio, which is something different.</p>
  
  <p>How can I access the type of attribute-holding interactive objects via scripting that are used with the Analyze > Object Data Tool?</p>
  
  <hr>
  
  <p>It doesn't help that the terms "Object", "Data", "Attribute" and "Model" are so generic. To avoid doubt, this is the type of object data / attributes I want to acccess via scripting, as presented in the Acrobat UI. I want my script to iterate through the items on the top left panel, then for each one, access their attribute properties and values like in the bottom left panel:</p>
  
  <p><a href="https://i.stack.imgur.com/xwcvP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xwcvP.png" alt="enter image description here"></a></p>
  
  <p>This example is based on a georeferenced map PDF, and this feature of PDFs is often used in PDFs generated by GIS applications like ArcGIS and MapInfo:</p>