13.6.2
Deactivating the standard check with "IsImplementationValid" and
"OnImplementationSet"
Application area
Interaction between P&ID, pipe part catalog, and 3D.
See also chapter P&ID 3D pipe part catalog interaction (Page 121).
Introduction
When you link the P&ID catalog to the pipe part catalog, the implementation link is diverted
from its intended use. Therefore, it is necessary to deactivate the standard checks carried out
automatically by COMOS.
Deactivating standard check
Properties of the P&ID object, "Scripts" tab, "IsImplementationValid(Device)" and
"OnImplementationSet(Oldvalue)" script blocks:
Deactivate the standard checks by using the scripts of the following node from the database:
"@30 > M00 > A50 > A10 > A40 > A10 > A10 Pipe"
13.6.3
Link for the "Nominal pressure" attribute
Application area
Interaction between P&ID, pipe part catalog, and 3D.
Static link via "GetLinkedSpecification"
If the permitted nominal pressure of the pipe spec is to be applied to the nominal pressure of
the P&ID pipe, the "Y00T00003.Y00A00746" attribute at the P&ID pipe must implement the
"GetDisplayValue" script block as follows:
Function GetDisplayValue()
Set PCSpec = GetSpecOwner.Spec("PI030.PIA012")
'PipeSpec
If PCSpec is Nothing Then Exit Function
If PCSpec.Value = ""Then Exit Function
PCName = PCSpec.Value
Set PipeClass = lib.StdValues3D(Project).pcGetPipeClass(PCName)
If PipeClass is nothing Then Exit Function
Set CDev = PipeClass.Cdevice
Set Sp = CDev.Spec("C2.V2.P")
'C2.V2.P: List specification
'P: Calls column P, in in which the second value ("Row") is fetched
using GetXValue(1).
Database reference
13.6 P&ID objects
PipeSpec Designer
Operating Manual, 09/2014, A5E32076948-AA
153
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 ...