Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 16985

Forum Post: OPM Schema Parser Expression

$
0
0
Good day, Our pipeline specifications are a 4 or 5 character set where XX#XO is the format. X – any capital alpha # - any single digit O – optional capital alpha dependent if threaded.  In OP3D schema supplemented with Modeling and ModelingViews, in the Iso Sheet class I created a property called SPEC and used the calculated ECExpression attribute to set its value to the pipeline specification. The coding is: this.GetRelatedInstance("PIPING_NETWORK_SYSTEM_HAS_ISO_SHEET:1:PIPING_NETWORK_SYSTEM").SPECIFICATION We do have cases where a pipeline may have several sheets and due to the service may require a spec change during the piping. I am trying to deal with the scenario where a whole iso sheet will be the different spec. Example a line would have 4 iso sheets and if iso sheet #3 was completely changed to a new spec, I would like to override the SPEC property for iso sheet 3 in iso sheet manager. This way moving forward when you generate the iso sheet you do not manually have to change the drawing each time. My problem is writing the parser expression, once I get it so I can edit the SPEC property in the iso sheet manager I keep getting the error Property value not valid after changing the value. I cannot seem to write the parser expression to accept the pattern XX#XO. Any ideas.

Viewing all articles
Browse latest Browse all 16985

Trending Articles



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