Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
having trouble with setting configurations for `addInstance()`
kyle_altendorf
Member Posts: 20 ✭
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
-
kyle_altendorf Member Posts: 20 ✭
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…