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.
Query Variable Array?
ry_gb
Member, csevp, pcbaevp Posts: 47 PRO
If I have a query variable that selects a list of edges or curves, is it possible to turn that into an array that can be used inside of a feature like Loft? Attaching a screenshot of what I'm trying to avoid.
Tagged:
0

Answers
This parameter array is not just queries, its array of maps, where the guide query is just one of fields. You could try my Fs Node studio app to create specific loft wrapper for your needs
https://forum.onshape.com/discussion/comment/121900#Comment_121900
If I understand what you're saying, I get that the definition for opLoft is a map for which "guideSubqueries" is one of the elements. I just want to do it in such a way where I don't have to create a new custom Loft feature, but rather use the Onshape loft.
If I can create a Featurescript that takes in a query variable and returns a map array back into the context, that would be great. It just doesn't seem possible, or else, I just don't know how to do that.
you can create such fs, but you will not be able to consume its result from native loft feature, making loft wrapper seem the only way