AnsweredAssumed Answered

How can I reset feature numbers?

Question asked by Nate K on Mar 27, 2014
Latest reply on Mar 27, 2014 by Nate K

If I create a feature (extrude1 for example) and then delete it, the next extrude will be called extrude2. Is there a way so that the new extrude is called extrude1 by default? This sounds kind of pointless, but I'm writing a solidworks macro that creates from curves from x,y,z data and then makes a loft between the created curves. If I delete the curves and run the macro again, the macro fails to loft because the new curves start number from where the last curves left off. (The macro creates curves 1 through 20, so the new curves start numbering from 21). Because the numbers are offset, the macro fails to select them because I'm using selectById2("curve1", ect, , , ,). Can anybody help? Thanks!

Outcomes