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/
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)
PH said: If I use the same csv file in V8i SS10 on the same dgn, color is set to ByLevel
Are you saying that MicroStation V8i works the way you want, but MicroStation CONNECT behaves differently?
PH said:There are far too many levels to store them in a dgnlib
How many levels is 'too many'? A DGNLib is just another DGN file, so why is it OK to create those levels in the active DGN file but not in an attached DGNLib? What symptoms does MicroStation show when there are too many levels in a DGNLib?
PH said:... they have to be created on the fly by an application
Are you the owner of that app? Can you request a modification if required?
Regards, Jon Summers LA Solutions