Global Name change of Line styles

I have 700 line styles within micro station that originate from an .RSC File. All of the line styles contain a keyword which needs to change to another word. Is there any quick way to do this all at once as manually changing the names one by one would take too long.

Parents
  • To be clear you just want to change whats in the rsc file right not whats used in existing drawing, just  forward before you make new drawing use the renamed styles right?

    In that case what we need is some sort of program that can open it like text and use find replace ... have you tried making a copy and using notepad or notepad++ and find replace to change your keyword?

    Then to test it move the original rsc into a folder mstn cant see then  modifiy a copy test the all the linestyles still work, if it does then you solved it  if not you have back of the orginal you can return all back to normal...

    I can't test this for you as my rsc libraries are in protected read only on network.. but it seems logical if your  relacing a key word with another, when I open rsc file read only with notepad I can see the  names in text but the rest looks like code or special symbols ... if it doesn't need compiling this in theory should work for you..

    My concern is what happens to all your old drawings that used the original names linestyles... they  will no longer see the old names....

    Then this would suggest we need Two rsc files old original and new modified renamed file with new contents.. then you need to batch process all your old drgs to change to the new rsc file with the suggested remap that Otto mentioned... or leave all the old as is and only use the new rsc moving forward from a certain date as your new standard... the later option would be the one I'd push for my my masters.. too much work otherwise...

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

  • n that case what we need is some sort of program that can open it like text and use find replace ... have you tried making a copy and using notepad or notepad++ and find replace to change your keyword?

    Lorys thoughts are valuable, but not this one! RSC Files are no Text-Files. Open and editing with a text-editor normally corrupt the files. You just need the right tools to do the job.

    Mit freundlichen Grüßen / Best regards
    Volker Hüfner

    |  AB_DATE Engineering  Software   |  ab-date.de  |

  • Hex editor could work but only if length of text doesn't change.

Reply Children