ProjectWise InterPlot Organizer
Evert de Jong, Bentley Technical Support Group
Cells were placed in a DGN file with color and fill color set to ByCell. The DGN file is original created by software called TeklaNIS. How can I write in a pen table or design script that changes the color and fill color of the cell.
Steps to Resolve
Since Color ByCell is valid in DWG mode only MicroStation should be started in DWG Mode; This can be done by setting these variables: MS_WORKMODE = DWG _USTN_CAPABILITY_DWG > +CAPABILITY_BYCELL How to select the fill_ByCell elements in a pen table. Fill Color BY_CELL has the value -2 in the color table. Try this statement in a design Script: if (fill_color .NI. 0-255 ) then fill_color = 'red' endif
Note: This applies to Color and Fill Color ByCell. In case the cell does not exist (is dropped) but nevertheless the attribute Fill Color is still ByCell. Color 0 is taken.