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.
Lorys said:pay a developer to do it in vba
Not possible: VBA knows nothing about MicroStation resource (*.rsc) files. MicroStation resource files and their internal binary format have been around for much longer than VBA (or, for that matter, Java, C# and MicroStation BASIC).
*.rsc
It's necessary to use the tools provided with the MicroStation SDK. What's required is a tool that will...
.rsc
Regards, Jon Summers LA Solutions
Doesn't seem to take that long to rename each line style, couple of seconds for each entry if using Manage line styles dialog and creating a new RSC. When it is done the linestyles can be replaced in DGN using Remap tool.
Hi All, thank you for all the suggestions but it turns out the rsc file has some kind of embedded protection code so the only solution in this certain case is to manually change them.
Oto said:Doesn't seem to take that long to rename each line style, couple of seconds for each entry if using Manage line styles dialog and creating a new RSC.
Well that was my first approach too, but others convinced me manual method for 700 would be long and too prone to errors...
Too bad it seems vba recorder cant be used for this and modified to do each line style one at a time...
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
There is none. RSC are simple binary files without checksum or compression. It is possible to edit if the edits doesn't change file length or nonstring data.