Hallo,
I'm looking for the same, color index remapping to RGB. Is there already a solution?
Thnx
https://communities.bentley.com/products/microstation/f/microstation-forum/126038/colors-conversions/
PH said:I'm looking for the same
In what version (e.g. 10.x.y.z) of MicroStation?
Regards, Jon Summers LA Solutions
10.x.y.z
There are a few different solutions depending on what you have. If you do not need to change the color number, you can simply create a new color table, change the numbered color to the correct color, then attach that color table to each file. Easy enough with a batch.
Connect r17 10.17.2.61 self-employed-Unpaid Beta tester for Bentley
I know, but that doesn't do the thing. We have no dgnlib to store the levels, and no default colortable to change. Let me explain the situation:
We have a Dutch design standard (NLCS), used by both MicroStation and Autocad. In fact, the NLCS-standard is defined by the use of level/layer names. There are far too many levels to store them in a dgnlib, so they have to be created on the fly by an application. The application also sets the symbology per level, sometimes to color index, sometimes to RGB, and elements are set to the Bylevel symbology to meet the standard requirements. So far so good.
To convert dgn's with elements with an old standard, elements have to be converted to the new levels and to ByLevel symbology. A csv file does the work and I even succeeded in creating RGB values for the output color (setting them as R:G:B). Problem now is that the appropriate level and symbology is created in the output dgn (so with RGB values), but elements itself are not converted to use the ByLevel color in the output dgn.
For style and weight, elements are set to ByLevel after conversion, which is good, but I still have to find out how to assign a user defined linestyle name to the level. I guess I miss the right format to assign the linestyle name instead of the linestyle number.
Paul
~~
Little update: If I use the same csv file in V8i SS10 on the same dgn, color is set to ByLevel (still no level name conversion unfortunately)
Split this off from the original discussion as this appears to be a new issue.
RegardsAndrew BellTechnical SupportBentley Systems