Fluidic Logical Functions Functions

This page discusses:

GenerateFluidLogicalSeqNum

Signature

GenerateFluidLogicalSeqNum(System : RFLVPMLogicalReference) : Integer

Arguments

Name Input / Output Required? Type Comment
System In RFLVPMLogicalReference

ReturnType

Integer

GetPipingLogicalEnd

Signature

GetPipingLogicalEnd(Piping Logical Occurrence to get connected end : LogicalOccurrence, Piping Logical port to navigate through : RFLVPMLogicalPort, Piping Logical Occurrence connected end : LogicalOccurrence, Piping Logical Port connected end : RFLVPMLogicalPort) : Integer

Arguments

Name Input / Output Required? Type Comment
Piping Logical Occurrence to get connected end In LogicalOccurrence
Piping Logical port to navigate through In RFLVPMLogicalPort
Piping Logical Occurrence connected end Out LogicalOccurrence
Piping Logical Port connected end Out RFLVPMLogicalPort

ReturnType

Integer

ListLogPipingPortsSizeFromPipingPart

Signature

ListLogPipingPortsSizeFromPipingPart(Logical Piping Part : PipLogicalPartOcc, ListOfPipingPorts : List, ListOfNomialSizeOfPipingPorts : List) : Boolean

Arguments

Name Input / Output Required? Type Comment
Logical Piping Part In PipLogicalPartOcc
ListOfPipingPorts Out List
ListOfNomialSizeOfPipingPorts Out List

ReturnType

Boolean

ListPipingConnectedComponents

This function lists the component instances connected to the input instance through piping ports.

Signature

ListPipingConnectedComponents(iPLMInstance : PLMCoreInstance, iComponentType : String, oListOfComponents : List) : Integer

Arguments

Name Input/Output Required? Type Comment
iPLMInstance In PLMCoreInstance
iComponentType In String
oListOfComponents Out List

ReturnType

Integer

The function returns the first component found connected through a piping port, starting the navigation from the input component’s piping port.

If there is a component connected without any piping port, it would not be returned by this function.

Example

Let  strInput(String)
Let ConnectedInstance(PLMCoreInstance)
let ListConnectedComp(LIST)
Let nConnected = 0
Let j = 1

strInput = Equipment.Name
Message(strInput) 

ListPipingConnectedComponents(Equipment, "RFLVPMLogicalInstance", ListConnectedComp)

nConnected =ListConnectedComp->Size()

for j while j<=nConnected
{
	ConnectedInstance = ListConnectedComp->GetItem(j)
	Let  str(String)
	str = ConnectedInstance.Name	
	Message(str) 
}

Notes:
  • The function returns the first component found connected through a piping port, starting the navigation from the input component’s piping port.
  • If there is a component connected without any piping port, it would not be returned by this function.

ListLogicalLineFromMember

Signature

ListLogicalLineFromMember(Piping Logical Occurrence for which Logical Line to be retrieved : LogicalOccurrence, Logical Line ID Occurrences containing this object : List) : Integer

Arguments

NameInput/OutputRequired?TypeComment
Piping Logical Occurrence for which Logical Line to be retrievedInLogicalOccurrence
Logical Line ID Occurrences containing this objectOutList

ReturnType

Integer

ListPipingLineIDMembers

Signature

ListPipingLineIDMembers(Piping Line Occurrence : LogicalOccurrence) : List

Arguments

Name Input / Output Required? Type Comment
Piping Line Occurrence In LogicalOccurrence

ReturnType

List