Quantcast
Channel: Adobe Community : All Content - Acrobat SDK
Viewing all articles
Browse latest Browse all 2571

Getting the name of selected Node in Adobe 3D PDF

$
0
0

Hello,

I'm trying to use the following code to get the name of the selected node for a 3D object in my PDF.

/***************************************************************************************** ***************/

var c3d = this.getAnnots3D(this.pageNum)[0].context3D;

c3d.activated = true;

var select = c3d.scene.selectedNode.name;

/***************************************************************************************** **************/

 

I get the error

/***************************************************************************************** *************/

TypeError: c3d.scene.selectedNode is undefined

19:Console:Exec

undefined

/***************************************************************************************** *************/

 

I have placed my code at the folder level.

Can someone help please?


Viewing all articles
Browse latest Browse all 2571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>