cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Mittman
Staff

How to parse Design Role property with a script

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.

column(dtDOE, 1) << get property("Design Role");

The problem is that the return value seems to be an unevaluated expression.

DesignRole( Continuous )

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Mittman
Staff

Re: How to parse Design Role property with a script

Thanks @jthi !

I am able to get the result as a string with

char(arg(drole,1))

View solution in original post

2 REPLIES 2
jthi
Super User

Re: How to parse Design Role property with a script

Try using Arg()

drole_prop = Column(dt, "weight") << Get Property("Design Role");
drole = Arg(drole, 1); // "Continuous"
// Head(drole); // will get the outside expression, Design Role in this case

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

Design Role("Continuous")

 

-Jarmo
Mittman
Staff

Re: How to parse Design Role property with a script

Thanks @jthi !

I am able to get the result as a string with

char(arg(drole,1))

Recommended Articles