Delete element in array

marena_richardson
marena_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

  • kevin_o_toole_1
    kevin_o_toole_1 Onshape Employees, Developers, HDM Posts: 565 image
    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?