Answered
Hello,
is there a way to select / highlight a node in a 3d annotation with JS?
I have a node with the name "testnode" and I tried it that way:
var selection = "testnode";
c3d().scene.selectedNode = c3d().scene.nodes.getByName(selection);
function c3d(){
return getAnnots3D(0)[0].context3D;
}
This code highlights my node, BUT just for a millisecond. The bounding box around the node is been displayed very short and then it disappears. :-(
What is the problem here? If I select the node manually in the Adobe menu, everything is fine...
Please help me! :-)
Steven
runtime.overrideSelection = true;