Hello All,
For color white/black, it might be swapped with difference display style/background color, and it might changed if open same drawing with MS V8i/CE. I'd like to know if there any way to let the color white/black at any circumstance. It is not have to be exactly white/black(RGB0,0,0/255,255,255), it is acceptable if the color is pretty close. I have tried to use the color 1,1,1/254,254,254, but the result is same. I created QRcode by shapes, so the color white/black must be unchanged. Thanks a lot.
The definition of white or black is specified in the colour table attached, or used, in the design file being opened. This can change depending on which colour table is attached to the drawing or the file format, ie. DGN or DWG. If you could supply an example design file that your seeing this issue and maybe a couple of screen captures to show how this is being displayed on your system.
https://communities.bentley.com/products/microstation/w/microstation__wiki/15369/if-the-ms_5f00_defctbl-variable-is-undefined-which-color-table-is-used-by-default
RegardsAndrew BellTechnical SupportBentley Systems
Changsong Ling said:I created QR code
We developed a QR code generator for MicroStation some years ago. There are 64-bit and 32-bit versions MicroStation CONNECT and MicroStation v8i.
Regards, Jon Summers LA Solutions
Hello Bell,
Please refer the attached dgn, open it with MS V8i, it is a valid QRcode regardless the background color of default color table.
If open it with MS CE with background color white, all colors are white, the while QRcode become white(invisible); if the background color is black, the color black/white is swapped. In general, the QRcode is invalid in CE.
Thanks a lot.
QRcode.dgn
Hello Jon,
I checked your sample QR.dgn, you just created shapes for black ones, your QR code works fine with V8i/CE as soon as the background color is white. I'm sure it works fine when printed. But your QR code cannot work with background color black, which is the most common background color during our design. I have considered to change the black color to some other color which could be consistent in V8i/CE, but I cannot handle the background. I will try if it support some consistent grey color as white background. Thanks a lot.
Changsong Ling said:your QR code works fine with V8i/CE as soon as the background color is white
Sample QR codes are generated by a VBA client. The VBA client applies whatever MicroStation symbology it is designed to achieve.
Changsong Ling said:your QR code cannot work with background color black
I don't see why not. It works with the usual MicroStation colour table. The background colour in a MicroStation Color Table is inverted when the user preference for a white or black background is changed.