Quantcast
Viewing all articles
Browse latest Browse all 16985

Forum Post: RE: OpenPlant P&ID - Control valve properties controlled by annotation type

Hello Maggie, If I understand your request - yes this is possible. Please clarify : You want the setting on the instrument bubble (Bubble Location property) to drive the LOCATION property value on Control Valve? If this is correct then YES we can do this. It requires the use of a Notify Related Component of Property Value Change custom attribute on the BUBBLE_LOCATION property of the Instrument Annotation class to pass its value to Control Valve. Once on Control Valve we can use an ECExpression on the LOCATION property with an IIF statement to drive its value. It would be something like this - IIF(this.INST_BUBBLE_TYPE="1","FLD","") & IIF(this.INST_BUBBLE_TYPE="2","CRP","") & ... In the expression the INST_BUBBLE_TYPE is a NEW property I created to hold the value from the BUBBLE_LOCATION property on INSTRUMENT_ANNOTATION. The abbreviations (FLD - Field, CRP = Control Room Panel), I made up and you can set to be your desired values. I will create a "How To" document with step by step instructions and screen captures. Once complete, I will post it to this community and provide you a link in this post. Regards, Tony DeRosa Bentley Plant

Viewing all articles
Browse latest Browse all 16985

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>