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
Value of "LinkSpecName"
"Y00T00011.Y00A0000
3AA01"
"Y00T00003.Y00A00744"
Script: "@20 > A80 > M23 > A10 > M23S00036 GetLinkedSpecification2"
"Y00T00011.Y00A0000
3AA02",
"Y00T00011.Y00A0000
3AA03"
"Y00T00003.Y00A03451"
Script: "@20 > A80 > M23 > A10 > M23S00037 GetLinkedSpecification3"
"Y00T00011.Y00A0005
2"
"Y00T00003.Y00A00052"
Script: "@20 > A80 > M23 > A10 > M23S00039 GetLinkedSpecification5"
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)
Database reference
13.5 Pipe parts in the pipe part catalog
PipeSpec Designer
Operating Manual, 09/2014, A5E32076948-AA
151
Summary of Contents for COMOS
Page 8: ...Table of contents PipeSpec Designer 8 Operating Manual 09 2014 A5E32076948 AA ...
Page 10: ...Publisher PipeSpec Designer 10 Operating Manual 09 2014 A5E32076948 AA ...
Page 70: ...Calling the PipeSpec Designer PipeSpec Designer 70 Operating Manual 09 2014 A5E32076948 AA ...
Page 118: ...Documenting pipe specs PipeSpec Designer 118 Operating Manual 09 2014 A5E32076948 AA ...