Applies To
Product(s):
ProjectWise InterPlot Organizer
Version(s):
08.11.11.56
Environment:
N\A
Area:
IPLOT
Subarea:
Original Author:
Evert de Jong, Bentley Technical Support Group
Problem Description
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.
References:
http://communities.bentley.com/products/microstation/w/microstation__wiki/16672.how-to-remove-the-bylevel-andor-bycell
http://communities.bentley.com/products/microstation/w/microstation__wiki/16702.place-cells-with-bycell-attribute