简体   繁体   中英

Adobe Acrobat Pro Dc - How to use get by name command to show all brench at the Model Tree for 3D

I got sample file and has this command at checkbox javascript

var Node2Switch = getAnnots3D(0)[0].context3D.scene.nodes.getByName("9****1().fd********657f723eba029b67a33584da02d48");

****** are just for safety :)

How can I find "fd********657f723eba029b67a33584da02d48" part?

I can only view "9****1()" that name and the sub objects and objects nodes at the model tree .

Thanks in advance.

for(var i=0; i<this.getAnnots3D(0)[0].context3D.scene.nodes.count; i++) {

  var nd=this.getAnnots3D(0)[0].context3D.scene.nodes.getByIndex(i);

  console.println(nd.name);

}

I finally did it thats the code
Step 1 - Open Pdf and press ctrl + j to open console
Step 2 - Writte the above-mentioned code to console and press ctrl+enter or numpad enter key
You can view all the full nodes names of model tree at the console output

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM