简体   繁体   English

Adobe Acrobat Pro Dc-如何使用“按名称获取”命令在3D模型树中显示所有分支

[英]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.

相关问题 Adobe Acrobat DC Pro中的JavaScript帮助 - JavaScript Help in Adobe Acrobat DC pro Adobe Acrobat Pro DC自定义计算脚本建议 - Adobe Acrobat Pro DC custom calculation script advice Adobe Acrobat DC Pro-使用单选按钮隐藏字段时如何向上移动字段 - Adobe Acrobat DC Pro - How to move fields up when hiding fields with radio buttons 如何使用 JavaScript 在 Adobe Acrobat Pro DC 中根据关键字删除 PDF 页面? - How to delete PDF pages based on keywords in Adobe Acrobat Pro DC using JavaScript? Adobe Acrobat Pro DC JavaScript字段属性无法传播 - Adobe Acrobat Pro DC JavaScript field properties not propagating 在Adobe Acrobat X Pro中,如何使用javascript以acrobat pdf格式预填充文本字段? - In Adobe Acrobat X Pro, how do I use javascript to prefill text fields in an acrobat pdf form? 如何使用 javascript 在 Adob​​e Acrobat DC 中打开导航窗格? - How can I use javascript to open a navigation pane in Adobe Acrobat DC? 在 Adob​​e Acrobat Pro DC 中创建自定义击键脚本时,初始化变量“AF”会删除整个脚本 - While Creating a Custom Keystroke Script in Adobe Acrobat Pro DC initializing variable "AF" deletes whole script Adobe Acrobat Pro-下拉列表,显示和隐藏javascript中的值 - Adobe Acrobat Pro - Drop down list, show and hide values in javascript Adobe Acrobat Pro - 从下拉列表中获取显示值? - Adobe Acrobat Pro - Get display value from dropdownlist?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM