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.
understanding oppattern input (invalid input error)
christopher_mcvey
Member Posts: 4 ✭
ok.. tried searching for various things but my issue is that I don't understand what inputs are required in what form I think.. my featurescript is here (no laughing!) silly feature ..
I think I have everything correct but it says invalid input when I try it.. the entity to copy is a solid body, the transform is basically a do nothing placeholder and the instanceNames is an array of unique string names. some of the annotation inputs are for later functionality so they shouldn't make a difference.. but I have no idea.
I think I have everything correct but it says invalid input when I try it.. the entity to copy is a solid body, the transform is basically a do nothing placeholder and the instanceNames is an array of unique string names. some of the annotation inputs are for later functionality so they shouldn't make a difference.. but I have no idea.
0
Best Answers
-
lana Onshape Employees Posts: 706instanceNames array has to be the same length as transforms array ( in this case 1) . If you want to create `definition.entityCount` copies, you need to provide that number of transformations1
-
christopher_mcvey Member Posts: 4 ✭lana said:instanceNames array has to be the same length as transforms array ( in this case 1) . If you want to create `definition.entityCount` copies, you need to provide that number of transformations0
Answers