<?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: How to parse Design Role property with a script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-parse-Design-Role-property-with-a-script/m-p/836593#M101337</link>
    <description>&lt;P&gt;Try using Arg()&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;drole_prop = Column(dt, "weight") &amp;lt;&amp;lt; Get Property("Design Role");
drole = Arg(drole, 1); // "Continuous"
// Head(drole);&amp;nbsp;//&amp;nbsp;will&amp;nbsp;get&amp;nbsp;the&amp;nbsp;outside&amp;nbsp;expression,&amp;nbsp;Design&amp;nbsp;Role&amp;nbsp;in&amp;nbsp;this&amp;nbsp;case&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note for me design role seems to contain a string so you might have to do some extra tricks to get the "something" type to string&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Design Role("Continuous")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2025 05:59:10 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-02-06T05:59:10Z</dc:date>
    <item>
      <title>How to parse Design Role property with a script</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-parse-Design-Role-property-with-a-script/m-p/836485#M101333</link>
      <description>&lt;P&gt;I need to be able to identify which columns in a DOE data table are factors. I know there is a design role column property.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;column(dtDOE, 1) &amp;lt;&amp;lt; get property("Design Role");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The problem is that the return value seems to be an unevaluated expression.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DesignRole( Continuous )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is Missing doesn't work in this context, but even if it did, I want to exclude blocking factors, so I need to somehow parse this thing.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 23:43:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-parse-Design-Role-property-with-a-script/m-p/836485#M101333</guid>
      <dc:creator>Mittman</dc:creator>
      <dc:date>2025-02-05T23:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse Design Role property with a script</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-parse-Design-Role-property-with-a-script/m-p/836593#M101337</link>
      <description>&lt;P&gt;Try using Arg()&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;drole_prop = Column(dt, "weight") &amp;lt;&amp;lt; Get Property("Design Role");
drole = Arg(drole, 1); // "Continuous"
// Head(drole);&amp;nbsp;//&amp;nbsp;will&amp;nbsp;get&amp;nbsp;the&amp;nbsp;outside&amp;nbsp;expression,&amp;nbsp;Design&amp;nbsp;Role&amp;nbsp;in&amp;nbsp;this&amp;nbsp;case&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note for me design role seems to contain a string so you might have to do some extra tricks to get the "something" type to string&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Design Role("Continuous")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 05:59:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-parse-Design-Role-property-with-a-script/m-p/836593#M101337</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-06T05:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse Design Role property with a script</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-parse-Design-Role-property-with-a-script/m-p/836723#M101352</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;I am able to get the result as a string with&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;char(arg(drole,1))&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Feb 2025 16:06:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-parse-Design-Role-property-with-a-script/m-p/836723#M101352</guid>
      <dc:creator>Mittman</dc:creator>
      <dc:date>2025-02-06T16:06:04Z</dc:date>
    </item>
  </channel>
</rss>

