Referring to children of referenced object

Hi,

I have a Base with custom parameters among which a COMP style parameter named Stonerobject. This COMP parameter refers to a Stoner from the palette. I can refer to the stoner from within the container by doing parent().par.Stonerobject but can’t seem to reference its children. I though this would be accomplished by doing parent().par.Stonerobject.op(‘nameOfTheChild’) but this results in an "object has no attribute ‘op’ " error.

I’m sure this is obvious and I will have found a solution as soon as I post this…

Thanks!

You are referencing the parameter object, which does not have an op member. You can access the static value via. .val but best practice is to use .eval() to also catch binding and expression.

Ahhhhhh! Thanks!