Select Parameter by style

Just wondering how I can select a parameter by style in the Parameter CHOP, in particular all pulse parameters

I’ve tried me.isPulse() or par.isPulse() in the parameters field but not sure where to go from here.

Thanks

You’ll need to set the parameters field to an expression:

[(x.name if x.isPulse else "") for x in op('geo1').pars('*')]

(Assuming operator geo1 for example).

That can be generalized further to:

[(x.name if x.isPulse else "") for x in op(me.par.op).pars('*')]

Awesome works great :slight_smile:

Thanks rob