Plotting truecolor 255,255,255

Using truecolor 255,255,255 instead of colornr. 0

Plotting with printersfiles like printer.pltcfg, pdf.pltcfg etc. the truecolor 255,255,255 is not printable.
Why and how to solve this?

Symbology Overrides is not an option

Regards,

Martin

Parents
  • Change request  343558 is filed against this issue to create similar variable to MS_PLT_INVERT_WHITE_COLORS also for RGB colors.

    For example it could be like this: MS_PLT_INVERT_WHITE_RGB_COLORS = (255,255,255) 

    As a workaround I have created this pentable macro. Why RGB color index is returned as either 512 or 1280 I have no idea but it works. If other RGB colors are needed then uncomment print elm.color, run print and check text window.

    Function RGB_W2B (elm as MbeElement) As Long
        
    '    print elm.color
      

      If  elm.color=256 then elm.color=0  
      If  elm.color=512 then elm.color=0
    If  elm.color=1280 then elm.color=0
     
        
        RGB_W2B = MBE_ElemNormal
         
     End Function


Reply
  • Change request  343558 is filed against this issue to create similar variable to MS_PLT_INVERT_WHITE_COLORS also for RGB colors.

    For example it could be like this: MS_PLT_INVERT_WHITE_RGB_COLORS = (255,255,255) 

    As a workaround I have created this pentable macro. Why RGB color index is returned as either 512 or 1280 I have no idea but it works. If other RGB colors are needed then uncomment print elm.color, run print and check text window.

    Function RGB_W2B (elm as MbeElement) As Long
        
    '    print elm.color
      

      If  elm.color=256 then elm.color=0  
      If  elm.color=512 then elm.color=0
    If  elm.color=1280 then elm.color=0
     
        
        RGB_W2B = MBE_ElemNormal
         
     End Function


Children
No Data