[英]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 我得到了示例文件,并在复选框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? 如何找到“ fd ******** 657f723eba029b67a33584da02d48”部分?
I can only view "9****1()" that name and the sub objects and objects nodes at the model tree . 我只能在模型树上查看该名称的“ 9 **** 1()”以及子对象和对象节点。
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 第1步-打开Pdf,然后按ctrl + j打开控制台
Step 2 - Writte the above-mentioned code to console and press ctrl+enter or numpad enter key 步骤2-将上述代码写入控制台,然后按ctrl + enter或numpad enter键
You can view all the full nodes names of model tree at the console output 您可以在控制台输出中查看模型树的所有完整节点名称。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.