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?