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!
Nate,
So your macro is creating the curve, and then you are needing to select them later in your macro. You should capture the name of the curves as you create them, then you don't have to explicitly hard code "curve1".
Paul