BookmarkSubscribe
Choose Language Hide Translation Bar
robot
Community Trekker

Re: Find All Display Tree Elements

Hi MS,

The problem appears to be that "parent << getTitle" does not yield a result for Graph Builder in JMP10.

My team will make due without this for JMP10.  Thanks for your help!

0 Kudos
tova
Community Trekker

Re: Find All Display Tree Elements

I am trying to run this script, but I am getting the error message :

 

Send Expects Scriptable Object{1} in access or evaluation of 'Send' , node << /*###*/className/*###*/

 

ANy idea why or what I should do?

 

thanks

0 Kudos
Highlighted
tova
Community Trekker

Re: Find All Display Tree Elements

I am trying to run this script, but I am getting the error message:

 

Send Expects Scriptable Object{1} in access or evaluation of 'Send' , node << /*###*/className/*###*/

 

 

ANy idea why or what I should do?

 

THanks,

 

Tova

0 Kudos
txnelson
Super User

Re: Find All Display Tree Elements

What version of JMP are you using?

Are you running on a Windows box or on a Mac?

Could you please clear the log, rerun the script, and then include the entire log output in your next response?

Jim
0 Kudos
vince_faller
Super User

Re: Find All Display Tree Elements

This worked for me if you don't need all the other stuff Ian built in.  Don't know why it's returning lists of lists but I just select the first one.

dt = open("$SAMPLE_DATA/Big Class.jmp");

biv = (dt << Bivariate(Y(:height, :weight), X(:age)));

frame_list = biv << xpath("//FrameBox");

wait(2);

frame_list[1][1]<<Select;

wait(2);

frame_list[2][1]<<Select;

Vince Faller - Predictum