cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
hogi
Level XII

List of all Platform objects?

If I generate a platform via JSL with a By variable, the return value is a list of all generated scriptable objects.

If I use the platform command just to open the Dialog - and then later, after the user clicked on OK, what is a fast & robust way to get the list of all scriptable objects which were generated?

 

Something like

(current report() << xpath("//OutlineBox")) << get scriptable object()

... with a clever preselection:  just OutlneBoxes that make sense
best: a universal preselection which doesn't have to be adjusted for the individual case.

 

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

New Window("test",V List Box(
dist1=Distribution (by( :age ))), // return value: list of the scriptable objects
dist2 = Distribution(
	Continuous Distribution(Column( :height )),
	By( :age )
));

 

10 REPLIES 10
jthi
Super User

Re: List of all Platform objects?

You are most likely able to just use pure XPath as Data filters do have specific value as helpKey (at least based on my very quick check)

//OutlineBox[@helpKey and not(@helpKey = 'Data Filter') and not(ancestor::OutlineBox[@helpKey])]

you can maybe have just one not

//OutlineBox[@helpKey and not(ancestor::OutlineBox[@helpKey] or @helpKey = 'Data Filter')]
-Jarmo