The forum Bentley Systems francophone

Through this forum, we want to create a Francophone exchange place on Bentley Systems products.

Good humour and courtesy are of course to be given. We reserve the right to exclude members who would be contrary to the objectives pursued.

If a section does not exist and you wish to be present, ask us via the form at the bottom of the page.

Forum navigation
You need to identify yourself to create messages and topics.

CHALLENGE - Multicolor Line Styles

Good morning, everyone!

Would anyone have any idea how to proceed to create a multi-color line style so as to achieve the result illustrated below?

Thank you in advance for your ideas!

The answer is finally quite simple but a little drawn by the hair I concede it. First of all, a line style can be composed of linear elements (which trace parallel to the line axis) and point elements (which are placed at regular intervals in a rhythm). When using a line style, the symbology parameters are used. In order to be able, as illustrated in the question, to draw a multicolored line style whose point part is fixed color in relation to the rest of the style, two things must be done:

  • when creating the punctual symbol, you must assign an RGB color (not a color from the palette)
  • When creating the point part, it is necessary for this repetitive symbol to indicate that the color comes from the "Symbol" and not from the "Element".


Give us your opinion!