Valve body not displaying with certain Tagging (NAME) Convention??

I am working with Bentley(R) OpenPlant PowerPID V8i (SELECTseries 5) - Version 08.11.10.202

I have added 2 properties to my FLUID REGULATOR class that gets its information automatically from my PIPELINE class through an ECExpression on each property.

When I add these 2 fields into my ECExpression & Parser regular expression for my Tagging convention, the valve body when placed on a pipeline in OpenPlantPID disappears.

This is my Tagging Convention where the valve body works:

this.GetRelatedInstance("PLANT_AREA_HAS_NAMED_ITEM:1:PLANT_AREA, NAME:?").NAME & "-" & this.VALVE_OPERATION_TYPE & this.DEVICE_TYPE_CODE & this.NUMBER & "-" & this.SIZE

^[?\w]*-(?<VALVE_OPERATION_TYPE>\w{1})(?<DEVICE_TYPE_CODE>\w{2})(?<NUMBER>\d{2})-(?<SIZE>[?\w]*)|(?<NUMBER>.*)

This is my Tagging Convention where the valve body disappears: (In red the 2 properties added)

this.GetRelatedInstance("PLANT_AREA_HAS_NAMED_ITEM:1:PLANT_AREA, NAME:?").NAME & "-" & this.FLUID_COMMODITY_CODE & this.PIPELINE_NUMBER & "-" & this.VALVE_OPERATION_TYPE & this.DEVICE_TYPE_CODE & this.NUMBER & "-" & this.SIZE

^[?\w]*-(?<FLUID_COMMODITY_CODE>\w{2})(?<PIPELINE_NUMBER>\d{2})-(?<VALVE_OPERATION_TYPE>\w{1})(?<DEVICE_TYPE_CODE>\w{2})(?<NUMBER>\d{2})-(?<SIZE>[?\w]*)|(?<NUMBER>.*)

I really have no idea what could be causing this?

Parents Reply Children
No Data