Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

Options

Input FeatureList parameter via API

isaac_trumperisaac_trumper Member, Developers Posts: 2
I am attempting to use the FeatureList object in a feature script array that allows the user to select a set of previously defined features and then based on the ordering of those features more action is taken. Using this from within the Onshape UI makes sense to me, and the discussion here is helpful for working with the object in feature script. However, my question is how to define this as an input when creating the feature via the API. Specifically, the lambda function definition is confusing to me, as the client calling the API would not have the function definition.

I am also wondering if there is a better way to do what I am trying to accomplish, for instance, is there a way to just define a set of Ids that reference specific features without the lambda? Thanks! 
Sign In or Register to comment.