Hello Masters of OP ; )
I´ve to create a way to put in a field the name of my pipe system.
the tag names here are formed by:
PRODUCT: PpPp
NUMBER: 1234
SPECIFICATION: SSS
DIAMETER: DD
and, if existis, INSULATION: Ii
For example:
A pipe of cooling water (WaCl), with the number 2325, in the carbon steel specification (CS2), with 20 inches of nominal diameter and not isolated.
This results in: WaCl-2325-CS2-20".
ok, well I belive that is an possible solution:
this.SERVICE & "-" & this.NUMBER & "-" & this.SPECIFICATION & "-" & this.NOMINAL_DIAMETER& "-" & "´´"
to be edited in the EcExpression in the NAME properties of the Iso Sheet class (i want to show this on the isometric sheet).
Well, obviously, its not work at all...
so... I need some help, please...
and oh! thanks a lot!
Hello Dennis,
This is mainly because RegEx only validate the properties which are available on its class. Here SPECIFICATION is not available, hence missing.
For any property to cascade from different hierarchy to certain class, require different expressions. Try below expression to get SPECIFICATION to be applied on ISO_SHEET class.
this.LINENUMBER & "-iso-" & this.NUMBER & "-" & this.GetRelatedInstance("PIPING_NETWORK_SYSTEM_HAS_ISO_SHEET:1:PIPING_NETWORK_SYSTEM").SPECIFICATION
HTH,
Regards,
Rahul Kumar
Product Engineer – Global Technical Support | Community Moderator
Hello Rahul!And thanks for this answer!And see below the print of the error msg.:
Thanks for sharing the details. From above query what I understood, you are looking to include NOMINAL DIAMETER along with inch sign. Please refer below wiki article which explains the Regex and parser to a format with inch sign.
this.NOMINAL_DIAMETER & """" & "-" & this.SERVICE_NAME & "-" & this.NUMBER & "-" & this.SPECIFICATION
You may change the order to make it working correctly.
How to Add Inch Sign with Nominal Diameter in Pipeline Tag Applies To Product(s): OpenPlant Modeler Version(s): 08.11.09.XXX (SS5) | 08.11.11.XXX (SS6) Environment: Windows 7/8.1/10 (64 bit) Area: Properties Subarea: … Last edited over 4 years ago in OpenPlant | AutoPLANT > OpenPlant | AutoPLANT Wiki
ok.
email: dennis.silva@unipar.com
well, I can give you my direct contact, but I don´t belive that the IT people let this works... sorry.
I'm on the engineering department, and its complicated...
well, we can try Skype too, if you need...
ok?
Hi Dennis,
Can you please provide your direct contact details and email address so that we can take it offline & can do screen sharing for it?
Looking forward to your update.
Regards,Rajesh Agrawal