I am trying to open a collection of PDF files and execute script in each annotation 3D found in each PDF.
I have created a program that does the trick using addScript but I have encountered issues I can't resolve regarding Security when a PDF is secured and addScript fails. Using jsObject, I am getting the scene of the 3D annotation and I am able to access scene.nodes.
But I can't figure how to reach each node by its index. I have tried to do (C#) :
Is it possible to get a node by its index? What am I doing wrong?
Have something to add?