Cell Feature Problem with outlined fill

I have a series of cells in a cell library named, yellowhelmet, pinkhelmet, bluehelmet, blankhelmet.

 when feature is first placed and has no data it has blankhelmet attached which is a helmet with white fill and black outline.

When I assign a value to it the criteria takes over and changes the cell to pinkhelmet which is a pink filled helmet with a black outline.....

The problem I'm having is that after reseting the feature it loses it's fill all together !! and becomes solid black ... does anyone know whats going on and what settings i should use with cells that have more than 1 colour ?

 

Please help!

Adam J

 

  • In the symbology for the pont feature, do you have the "Override cell symbology" checked ?? If so, I believe the fill color you have described will be overridden by the symbology changes you have set up in the symbology node in the GSA. Usually this is on by default.

     

    HTH

    Jerry 

     

  • I've attached the cell library, I have noticed that if the cell type is a point rather than graphic this will change how the symbology interacts with it... (using a graphic cell maintains the cells symbology, using a point takes the active settings....)

    ApplyDrawingScale true
    OverrideScale 1:500
    Color DoNotOverride
    Level plnMajorContract Investigation Desgin and Tender Stage strlen("[plnMajorContract:ContLink|a]") >2 && COMPARE("[plnMajorContract:Type]","37","")
    Level plnMajorContract Current strlen("[plnMajorContract:ContLink|a]") >2 && COMPARE("[plnMajorContract:Type]","38","")
    Level plnMajorContract Completed strlen("[plnMajorContract:ContLink|a]") >2 && COMPARE("[plnMajorContract:Type]","6","")
    Level plnMajorContract Defects and Liabilty Period strlen("[plnMajorContract:ContLink|a]") >2 && COMPARE("[plnMajorContract:Type]","43","")
    Level plnMajorContract
    Style 0
    StyleScale 1.0
    Weight 1
    Class 0
    Priority 0
    Transparency 0
    CellXScale 1.0
    CellYScale 1.0
    CellZScale 1.0
    CellAngle 0
    CellType standard
    CellName YellowHelmet strlen("[plnMajorContract:ContLink|a]") >2 && COMPARE("[plnMajorContract:Type]","6","")
    CellName PinkHelmet strlen("[plnMajorContract:ContLink|a]") >2 && COMPARE("[plnMajorContract:Type]","38","")
    CellName GreenHelmet strlen("[plnMajorContract:ContLink|a]") >2 && COMPARE("[plnMajorContract:Type]","43","")
    CellName BlueHelmet strlen("[plnMajorContract:ContLink|a]") >2 && COMPARE("[plnMajorContract:Type]","37","")
    CellName BlankHelmet
    CellLibrary $(_USTN_SITE)cell\planning\planning.cel
    OverrideCellSymbology true
    replacementText [ContractName] strlen("[plnMajorContract:ContLink|a]") >2
    replacementText [ContractNo] strlen("[plnMajorContract:ContLink|a]") >2

    I have defined the pinkHelmet as a point cell and the others as graphic... when placing a feature that is a pinkHelmet it seems to just take the active colour ... this might be microstation taking control rather than map.... if the feature does not need to be of a point type in order to export to a shp I can change them from point to graphic, however I am required to maintain the ability to export to SHP files.

     Another small problem is multiline text and replacing of it ..... how would i get the replacement text to span many lines? it does not seem to take the line length from the text style box, and will not replace text found in a text node taht can have a width set on it.....

    When exporting to SHP files does a graphic cell export as a point ? or must it be a point cell?

     

    Why is there a difference between

    planning.cel
  • Jamo:

    Another small problem is multiline text and replacing of it ..... how would i get the replacement text to span many lines? it does not seem to take the line length from the text style box, and will not replace text found in a text node taht can have a width set on it.....

    The cell replacementText mechanism only replaces text elements. I see some text node elements in your cells which will need to be replaced with text elements.

    Jamo:

    When exporting to SHP files does a graphic cell export as a point ? or must it be a point cell?

    The graphic cell exports as a point. The cell type does not matter for export so you may use graphic or point cells.

    Regards,

    Chris


    This is a test

  • Jamo:

    The problem I'm having is that after reseting the feature it loses it's fill all together !! and becomes solid black ... does anyone know whats going on and what settings i should use with cells that have more than 1 colour ?


    What MicroStation and Map versions are you using?

     

    Regards,

    Chris


    This is a test

  • Thanks for the reply cdalesandro

     I'm currently using Bentley Map V8i 08.11.05.49 and Microstation V8i 08.11.05.17 the problem described only seems to happen with point features....