Deactivating The Standard Check With "Isimplementationvalid" And "Onimplementationset; Link For The "Nominal Pressure" Attribute - Siemens COMOS Operating Manual

Life cycle engineering and plant asset management
Table of Contents

Advertisement

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).
PipeSpec Designer
Operating Manual, 09/2014, A5E32076948-AA
Database reference
13.6 P&ID objects
153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents