Our agency has PEN tables that allow utilities to appear in color and certain grays to plot and be transparent. There is a section in the PEN table wording that encompasses all other levels and sets them to black. Unfortunately, this also applies to the text background. I was wondering if there was any way to add an exception to fill or backgrounds within the Black plotting section of the pen table. Attached is the pen table in question and below is the lines of text causing the issue.
ny_b_gray_colorutil.pen
!Levels to Plot BlackELSE IF (LEVEL_NAME.IN.'*_P*', '*_Z*') THEN COLOR=(0, 0, 0) !Black !Non-Text Line Thickness IF (TYPE <> TEXT) THEN IF (WEIGHT .EQ. 0) THEN THICKNESS=0.10 ELSE IF (WEIGHT .EQ. 1) THEN THICKNESS=0.25 ELSE IF (WEIGHT .EQ. 2) THEN THICKNESS=0.40 ELSE IF (WEIGHT .EQ. 3) THEN THICKNESS=0.60 ELSE IF (WEIGHT .EQ. 4) THEN THICKNESS=0.80 ELSE IF (WEIGHT > 4) THEN THICKNESS=1.0 ENDIF !Text Thickness ELSE IF (WEIGHT .EQ. 0) THEN THICKNESS=0.15 ELSE IF (WEIGHT .EQ. 1) THEN THICKNESS=0.25 ELSE IF (WEIGHT .EQ. 2) THEN THICKNESS=0.35 ELSE IF (WEIGHT .EQ. 3) THEN THICKNESS=0.45 ELSE IF (WEIGHT .EQ. 4) THEN THICKNESS=0.60 ELSE IF (WEIGHT > 4) THEN THICKNESS=0.80 ENDIF ENDIF PRIORITY=80 ! Plot on top but below color utilities
Bryan,
Here's how I change the text background fill color in general:
if (type == text) thenfill_color=(255,255,255)boundary_color=(255,255,255)endif
takes care of text with mask background of color BG
Tom F
how can this then be done with a pentable.tbl just for masked text and leave any shapes with BG fill to mask stuff as I want all text to come out black because I use colour 0 and some instances of yellow and red my pentable says change to colour 0 ie black.. or is it just happening anyway by default?
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
Not sure I follow what you are trying to do, Lorys.
Have you got some images of what you are working with and what you are looking to achieve?
Not what I'm asking .. the op used a .pen file is it for iplot or design script, I only use pentables ie pen.tbl attached to my pdf. pltcfg
and I cant see how to do what tom suggests through the GUI
Tom Felcone said:if (type == text) thenfill_color=(255,255,255)boundary_color=(255,255,255)endif takes care of text with mask background of color B
takes care of text with mask background of color B
As I use shapes with BG fill on to mask things this is no printing or white with polygons and I use black text ie white with bg fill enabled and they print fine for me as black text over white with no ink as a mask behind the text and hide all other info behind the text..
I think maybe I'm not understanding the OPs question...
Lorys said: I cant see how to do what tom suggests through the GUI
Its a Design Script
Here's the design script file. Attach in the plot dialog (just below pen table section) Tom F.Text-mask-example.pen