having trouble with setting configurations for `addInstance()`
kyle_altendorf
Member Posts: 75 ✭✭
var instance = addInstance(
instantiator,
baseUnitStudio::build,
{
"configuration" : { "is_left" : false },
"transform" : transform(vector(x * definition.xd, y * definition.yd, 0 * inch))
}
);
I am attempting to set the is_left etc configuration checkboxes when instantiating a grid of instances of the base_unit part studio.
The is_left seems to work when I manually set it but I don't seem to be doing the right thing in the featurescript for setting that configuration value.
Thanks for any guidance.
Cheers,
-kyle
Tagged:
0
Best Answer
-
Turns out I had renamed the parameter but had not changed it's ID. Updating the ID resulted in it working. oops…
0
Answers
-
Turns out I had renamed the parameter but had not changed it's ID. Updating the ID resulted in it working. oops…
0
