Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted

Question about JMP script for automation a DOE analysis

Hi everybody,

 

I am trying to automate the DOE analysis, and I have several outputs, I am using the following code:

 

 

dt = Open( "5b.CD_Base_2Default23_UPM_Alpha0p01.jmp" );

// Option: Run script from a designed DOE

// Run script embedded in main table
ModelAna = dt << Run script( "Model" );

ModelAna << Y( :TMS, :TMH, :VMH, :VML );

//Get a reference to the report window containing the stepwise object
step_rprt = ModelAna << Report;

step_rprt[ListBoxBox( 2 )] << Set selected( 1 );//Remove Y
step_rprt[Button Box( 8 )] << click;//Remove Y

ModelAna << Personality( Stepwise );
ModelAna << Run(
    Stopping Rule( "P-value Threshold" ),
    Direction( "Forward" ),
    Rules( "Combine" ),
    Prob to Enter( 0.01 ),
    Prob to Leave( 0 )
);

vmh_rprt = Current Report();
rprt = vmh_rprt << Report();
vmh_rprt[Button Box( 7 )] << click; //Go

// It is working up to this point, next 2 lines was a try to click on third output, but didnt work
t = Outline Box[9];
t[Button Box( 25 )] << click; //Go

 

It is working just for 1st output, when I click Go, but not for next, do you have an idea of how to change to another output and click Go for it as well, How I can move between outputs? ( I am attaching a pic with the outputs I want to click Go and so on)

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
txnelson
Super User

Re: Question about JMP script for automation a DOE analysis

Are you aware that the Stepwise platform has a whole list of messages that can be sent to it so that you don't have to go through the effort of clicking on buttons, etc.
Look in the Scripting Editor
look under Fit Model, Fit Stepwise
Jim

View solution in original post

1 REPLY 1
Highlighted
txnelson
Super User

Re: Question about JMP script for automation a DOE analysis

Are you aware that the Stepwise platform has a whole list of messages that can be sent to it so that you don't have to go through the effort of clicking on buttons, etc.
Look in the Scripting Editor
look under Fit Model, Fit Stepwise
Jim

View solution in original post

Article Labels