line naming in diagrams

 I am trying to set up rules for AVEVA DIAGRAM PIPELINES Can you please guide me the possible way out . 

6800-1111-40-1DS01-EW-WW -NI

Where 6800 - FIXED

            1111- LINE NUMBER

                40 - BORE SIZE

              1DS01 - PIPE SPEC

                    EW- TRACING SPEC

                    WW- FLUID REFRENCE

                     NI- INSULATION SPEC

can you please guide me on the path forward for the same

Parents
  • Assuming you've filled below Attributes/UDAs:

    1111- LINE NUMBER : (Number)

    40 - BORE SIZE:  (Bore)

    1DS01 - PIPE SPEC:  (PSPEC)

     EW- TRACING SPEC: (:Tracing)

     WW- FLUID REFRENCE: (:Fluid)

    NI- INSULATION SPEC: (ISPEC)

    You should use:

    '6800-' &  !!CE.Number & '-' & !!ce.bore.string().replace('mm','').real() & '-' & !!CE.PSPEC.NAMN & "-" & !!CE.:Tracing &'-' & !!CE.:Fluid & '-' & !!CE.ISPEC.NAMN

Reply
  • Assuming you've filled below Attributes/UDAs:

    1111- LINE NUMBER : (Number)

    40 - BORE SIZE:  (Bore)

    1DS01 - PIPE SPEC:  (PSPEC)

     EW- TRACING SPEC: (:Tracing)

     WW- FLUID REFRENCE: (:Fluid)

    NI- INSULATION SPEC: (ISPEC)

    You should use:

    '6800-' &  !!CE.Number & '-' & !!ce.bore.string().replace('mm','').real() & '-' & !!CE.PSPEC.NAMN & "-" & !!CE.:Tracing &'-' & !!CE.:Fluid & '-' & !!CE.ISPEC.NAMN

Children
No Data