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.
New Feature: Match Closest Array Element
imants_smidchens
Member Posts: 63 EDU
in General
Ever been modeling a configurable part when you realize that different materials, profiles, etc result in different options for length, thickness, diameter, or something else?
Ok in hindsight that's a pretty specific issue to have, but here's a feature that solves those issues regardless:
https://cad.onshape.com/documents/d275f0aa6c54b39d90c74962/w/e885bb4824259a9718e49d84/e/36e1d31aa7ce39ef92db4201
Ok in hindsight that's a pretty specific issue to have, but here's a feature that solves those issues regardless:
https://cad.onshape.com/documents/d275f0aa6c54b39d90c74962/w/e885bb4824259a9718e49d84/e/36e1d31aa7ce39ef92db4201
Tagged:
1
Comments
Nice, I've been trying to think of some useful ways to use these array variables. This would be tough to do without this. Ty for sharing!
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
chadstoltzfus@premiercb.com
Based on this comment, if you're ever going through a very large array, you might want to modify
to be
I also wonder if any of your comparisons would benefit from using tolerant flavors?
Oo - that's clever. Thanks for linking to that discussion! The performance-optimizing-gremlin part of my brain is quite appreciative. Definitely looking into tolerant flavors for a potential improved v2. This got me thinking, heck, might even try doing some regex logic to match similar/identical strings...