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

Delete element in array

marena_richardsonmarena_richardson Member Posts: 20 EDU
Is there a way to delete an element from an array in FS or do I need to make a new array? 

Comments

  • Options
    kevin_o_toole_1kevin_o_toole_1 Onshape Employees, Developers, HDM Posts: 565
    Nope, you have to make a new array. I don't even know of a way to get the relevant sub-arrays, so you'll have to do the population in a for loop. 

    Doing things like this efficiently will probably be part of our performance marathon next year. In the meantime, would putting implementations of them in std be helpful or noisy?

Sign In or Register to comment.