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: 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
Thanks Lorys, I'll fix that.
Updated: https://communities.bentley.com/products/microstation/f/microstation-forum/126038/colors-conversions/
RegardsAndrew BellTechnical SupportBentley Systems
Andrew Bell said:Split this off from the original discussion as this appears to be a new issue.https://communities.bentley.com/products/microstation/f/microstation-forum/126038/colors-conversions/576630#576630
that link doesnt work for me .. page not found...
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
Split this off from the original discussion as this appears to be a new issue.
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)