[英]Adobe Acrobat Pro Dc - How to use get by name command to show all brench at the Model Tree for 3D
我得到了示例文件,並在復選框javascript中具有此命令
var Node2Switch = getAnnots3D(0)[0].context3D.scene.nodes.getByName("9****1().fd********657f723eba029b67a33584da02d48");
******只是為了安全:)
如何找到“ fd ******** 657f723eba029b67a33584da02d48”部分?
我只能在模型樹上查看該名稱的“ 9 **** 1()”以及子對象和對象節點。
提前致謝。
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);
}
我終於做到了那就是代碼
第1步-打開Pdf,然后按ctrl + j打開控制台
步驟2-將上述代碼寫入控制台,然后按ctrl + enter或numpad enter鍵
您可以在控制台輸出中查看模型樹的所有完整節點名稱。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.