hexagon logo

Rename features to numerical order

I was wondering if there was a way to rename features after all features have been created. I like to write my offline programs using individual Auto Vector Points and then I will build features like planes and lines (for example) after everything is created. A common problem I run into is I'll forget to put a point into a certain location. So I'll go back and insert a point where I want but since I've created 30 points after this location the new point I create will not be in numerical order. Is there a way I can tell PC-DMIS to rename all points to numerical order? Hope this makes sense. I've attached a screen shot as an example.

Attached Files
Parents
  • I do this all of the time!
    1. Go to Edit>Pattern. In this dialog box, make sure X-, Y-, and Z-offset, and Angle all =0. Number of times to offset=1. And do not mirror the features.
    2. Go into the Edit Window and copy the code from your entire program.
    3. Use Edit>Paste with Pattern.

    This will create a copy of the entire program but will rename all of the features. Sometimes it will start the numbering sequences with the number after the last feature you copied (i.e. if the last circle you programmed was CIR6, it may start the naming sequence at CIR7 for the first feature in the duplicated code); if this happens, do it again, but this time copy the "new" code. You might need to close and reopen before copying to get it to reset the numbers to start at CIR1, PNT1, etc.

  • Smart! Tested and 'verified'. Didn't work as expected for the alignments, but otherwise it did the rename (I pwp:ed into a new pp).
Reply Children
No Data