#109 Dynamic renaming of objects based on mapping tables

Minor Effort
closed-accepted
7
2010-01-29
2009-07-27
Lee Butler
No

It would be nice to be able to dynamically rename things in the database based upon a text file that contains mappings of the form:

current_name desired_name

This could be either renaming based upon existing database item name, or based upon some attribute (such as part number)

One option is to simply rename things in the geometry file. The other is to take a top-level object name and duplicate this tree structure with new names in place. This might be done by either duplicating objects (and stashing the old name as an attribute?), or creating combinations with the new name in the new tree that refer to the old geometry in the old tree. Maybe the user should have the option of picking which style?

Discussion

  • Sean Morrison

    Sean Morrison - 2010-01-29

    This is implemented as of r37488 as a new -f file option to the mvall command. As implemented, it takes the simple route of renaming things in the geometry file based on the input mapping file.

     
  • Sean Morrison

    Sean Morrison - 2010-01-29

    This feature request is now implemented and should be available with the next release, thanks!

     
  • Sean Morrison

    Sean Morrison - 2010-01-29
    • milestone: --> Minor Effort
    • assigned_to: nobody --> bob1961
    • status: open --> closed-accepted
     
  • Sean Morrison

    Sean Morrison - 2010-01-29
    • priority: 5 --> 7
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks