<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JMP JSL to add more graphs for DoE model response in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-JSL-to-add-more-graphs-for-DoE-model-response/m-p/618442#M81783</link>
    <description>&lt;P&gt;Here is a piece of code that will open the Summary of Fit if it isn't open.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ob = rbiv &amp;lt;&amp;lt; XPath( "//OutlineBox[ contains( text(), 'Response' ) ]" );

Print( ob );

For( i = 1, i &amp;lt;= N Items( ob ), i++,
	name = ob[i] &amp;lt;&amp;lt; get title;
	Print( name );
	obj = ob[i] &amp;lt;&amp;lt; get scriptable object;
	try( obj&amp;lt;&amp;lt;Summary of Fit(1));
	ob[i] &amp;lt;&amp;lt; Close( 1 );
	ob[i]["Summary of Fit"] &amp;lt;&amp;lt; Close( 0 );
	ob[i]["Parameter Estimates"] &amp;lt;&amp;lt; Close( 0 );
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Additionally, it is a simple matter to open the Summary of Fit sections for all models, with one click.&amp;nbsp; If you hold down the CNTL key and click on the Summary of Fit selection, and all models will have the Summary of Fit added to the analysis.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Mar 2023 03:52:50 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2023-03-31T03:52:50Z</dc:date>
    <item>
      <title>JMP JSL to add more graphs for DoE model response</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-JSL-to-add-more-graphs-for-DoE-model-response/m-p/618375#M81781</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have many DoE model in the report. I want to use another JSL to add more analysis results to the existing report. But I cannot find a way to do it. For example, I can use the code below to open or close the existing analysis such as Summary of Fit and Parameter Estimates, which was successful only I choose the summary of fit and parameter estimates from the red triangle list. How to modify the code below to check if summary of fit is selected, if not then add it into the report? I spent a lot of time, but not able to figure it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for your help.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ob = rbiv &amp;lt;&amp;lt; XPath( "//OutlineBox[ contains( text(), 'Response' ) ]" );

Print( ob );

For( i = 1, i &amp;lt;= N Items( ob ), i++,
	name = ob[i] &amp;lt;&amp;lt; get title;
	Print( name );
	ob[i] &amp;lt;&amp;lt; Close( 1 );
	ob[i]["Summary of Fit"] &amp;lt;&amp;lt; Close( 0 );
	ob[i]["Parameter Estimates"] &amp;lt;&amp;lt; Close( 0 );
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:06:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-JSL-to-add-more-graphs-for-DoE-model-response/m-p/618375#M81781</guid>
      <dc:creator>lazzybug</dc:creator>
      <dc:date>2023-06-09T16:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: JMP JSL to add more graphs for DoE model response</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-JSL-to-add-more-graphs-for-DoE-model-response/m-p/618442#M81783</link>
      <description>&lt;P&gt;Here is a piece of code that will open the Summary of Fit if it isn't open.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ob = rbiv &amp;lt;&amp;lt; XPath( "//OutlineBox[ contains( text(), 'Response' ) ]" );

Print( ob );

For( i = 1, i &amp;lt;= N Items( ob ), i++,
	name = ob[i] &amp;lt;&amp;lt; get title;
	Print( name );
	obj = ob[i] &amp;lt;&amp;lt; get scriptable object;
	try( obj&amp;lt;&amp;lt;Summary of Fit(1));
	ob[i] &amp;lt;&amp;lt; Close( 1 );
	ob[i]["Summary of Fit"] &amp;lt;&amp;lt; Close( 0 );
	ob[i]["Parameter Estimates"] &amp;lt;&amp;lt; Close( 0 );
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Additionally, it is a simple matter to open the Summary of Fit sections for all models, with one click.&amp;nbsp; If you hold down the CNTL key and click on the Summary of Fit selection, and all models will have the Summary of Fit added to the analysis.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 03:52:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-JSL-to-add-more-graphs-for-DoE-model-response/m-p/618442#M81783</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-03-31T03:52:50Z</dc:date>
    </item>
  </channel>
</rss>

