cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
miguello
Level VI

Any way to force a platform to run in a default configuration?

I have an AddIn that can run bunch of reports. It forms a nice customized reports that are exported to PowerPoint.

For instance, one of the reports runs Fit Y by X, runs linear fit, grabs R2 and Slope, displays then in a text box on a plot and deletes everything else (all the IfBoxes with Summary fits etc.)

I found that if a user has a customized configuration for a platform (for instance - run density ellipses by default with Fit Y by X), then all my logic of parsing display tree breaks and a) I can't get the results I need from display tree (because display tree is not what I expect) and b) unnecessary display boxes get in my final report.

 

Instead of checking for every possible combination of things that can be turned on by default in customized settings, is there a way to force a platform to run in default configuration?

Or maybe do this: Save current settings, apply default settings, run reports, apply saved settings back.

 

Any ideas?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Any way to force a platform to run in a default configuration?

The Ignore Platform Preferences function might do what you want

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Bivariate(
	Ignore Platform Preferences( 1 ),
	Y( :height ),
	X( :weight ),
	Action( Distribution( Y( :height, :weight ), Histograms Only ) )
);
Jim

View solution in original post

3 REPLIES 3
txnelson
Super User

Re: Any way to force a platform to run in a default configuration?

The Ignore Platform Preferences function might do what you want

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Bivariate(
	Ignore Platform Preferences( 1 ),
	Y( :height ),
	X( :weight ),
	Action( Distribution( Y( :height, :weight ), Histograms Only ) )
);
Jim
miguello
Level VI

Re: Any way to force a platform to run in a default configuration?

Bingo! Thanks a lot!

hogi
Level XII

Re: Any way to force a platform to run in a default configuration?

There is no 
Ignore Preferences(1)
right?