Siemens COMOS Operating Manual page 151

Life cycle engineering and plant asset management
Table of Contents

Advertisement

Static link for nominal diameters and pipe spec
The attributes for the nominal diameter ("Y00T00011.Y00A00003AA01") and for the pipe spec
("Y00T00011.Y00A00052") must have a static link.
Link type:
● "By script function <GetLinkedSpecification()>"
● For experienced users: "Via navigation assistant"
Implementation of the "GetLinkedSpecification()" script block
Use the implementation below. You use a different script depending on which attribute you
link:
Attribute name
"Y00T00011.Y00A0000
3AA01"
"Y00T00011.Y00A0000
3AA02",
"Y00T00011.Y00A0000
3AA03"
"Y00T00011.Y00A0005
2"
Attribute link through DisplayValues
The attribute link via DisplayValues is a method that enables scripted attribute linking via
DisplayValues instead of via Values:
● Open the properties of the attribute.
● Select the "Link" tab. Make the following settings:
– "Link type": "By script function <GetLinkedSpecification()>"
– "Value" input group: "Static"
– "Value/range" input group, "Own" field: "Operator" has the value "Script"
Implement the "CheckStaticLinkValues" and "GetStaticLinkSetValue" scripts on the "Script"
tab as described in the examples.
See also
P&ID 3D pipe part catalog interaction (Page 121)
PipeSpec Designer
Operating Manual, 09/2014, A5E32076948-AA
Value of "LinkSpecName"
"Y00T00003.Y00A00744"
Script: "@20 > A80 > M23 > A10 > M23S00036 GetLinkedSpecification2"
"Y00T00003.Y00A03451"
Script: "@20 > A80 > M23 > A10 > M23S00037
"Y00T00003.Y00A00052"
Script: "@20 > A80 > M23 > A10 > M23S00039
Database reference
13.5 Pipe parts in the pipe part catalog
GetLinkedSpecification3"
GetLinkedSpecification5"
151

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents