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.
"Lookup Table" Style configurations
imants_smidchens
Member Posts: 63 EDU
in General
Hi! I'm working on creating a library of configurable robotics parts - shafting of various lengths and profiles from vendors being one example of its contents.
I'd like to create one configurable part for all the different shaft types, where the end user selects a profile, then length. The tricky part is that different profiles of shaft have different valid lengths. Ideally, the configurations would end up looking like the standard content insert menu, where depending on profile selections, different drop downs/options become available to the user. I could set up a FS with the right options, but for assembly work the same issue remains present.
I can spoof this, kind of, by using multiple suppressed "delete part" operations for invalid configurations, but the issue is that the insert menu with configurations then must list every length for all shafting, with most being invalid for a given profile.
Is this something I can do with configurations/variables, do I need to use the API/write an extension (which I know basically nothing about lol) or is this currently not possible?
TL;DR: can I make a custom standard content library?
Cheers!
Imants
I'd like to create one configurable part for all the different shaft types, where the end user selects a profile, then length. The tricky part is that different profiles of shaft have different valid lengths. Ideally, the configurations would end up looking like the standard content insert menu, where depending on profile selections, different drop downs/options become available to the user. I could set up a FS with the right options, but for assembly work the same issue remains present.
I can spoof this, kind of, by using multiple suppressed "delete part" operations for invalid configurations, but the issue is that the insert menu with configurations then must list every length for all shafting, with most being invalid for a given profile.
Is this something I can do with configurations/variables, do I need to use the API/write an extension (which I know basically nothing about lol) or is this currently not possible?
TL;DR: can I make a custom standard content library?
Cheers!
Imants
Tagged:
0
Comments
You could duplicate the part studio and have a different part studio per profile. Then have those in one document with the name of your part "Shaft". The workflow could look like this: Select the "part" document shaft > select the profile (which is actually a part studio) > Then select the length from the drop down configuration (Each part studio will be configured for different lengths).
It might be possible with API. I'm not the right guy for that. Perhaps someone else can provide more info.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Thanks!
If you didn't already have this workflow: you could derive a single part studio with infinite lengths to multiple part studios within that document, then have different length configurations per each derived part studio. This way you only need one part studio modeled.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴