RFLPLMKnowledge Methods

The RFLPLMKnowledge Methods provides methods to connect RFLP systems.

This page discusses:

LogicalOccurrence.GetImplementedFunctionalSystemsConnections()

This method, given this logical occurrence, returns the list of implemented functional connections in the context of their function occurrences (occurrences of functional system).

Signature

LogicalOccurrence.GetImplementedFunctionalSystemsConnections(List of Functional Occurrences : List, List of Functional Connections : List) : List

Arguments

Name Input / Output Required? Type Comment
List of Functional Occurrences Out Yes List Lists the context occurrences of the implemented connections.
List of Functional Connections Out Yes List Lists the implemented functional connections.

ReturnType

List

LogicalOccurrence.GetNominalPower()

This method retrieves the nominal power for equipment reference with at least one electrical port. -

Signature

LogicalOccurrence.GetNominalPower(NominalPower : Real) : Boolean

Arguments

Name Input/Output Required? Type Comment
NominalPower Out Real Retrieves the nominal power value.

ReturnType

Boolean

Example

Let value(Real)
Let svalue(String)
thisObject->GetNominalPower(value)
svalue=ToString(value)

Message(svalue)

LogicalOccurrence.GetPhysicalRoutedLength()

This method retrieves physical routed lengths for logical conductor occurrence. -

Signature

LogicalOccurrence.GetPhysicalRoutedLength(PhysicalRoutedLength : LENGTH) : Boolean

Arguments

Name Input/Output Required? Type Comment
PhysicalRoutedLength Out LENGTH Length of the physical conductor linked to the logical conductor occurrence-

ReturnType

Boolean

Example

let length(LENGTH)
let value(String)
this->GetPhysicalRoutedLength(length )
value=ToString(length)
Message(value)

LogicalOccurrence.QuerySpaces()

You can use this function to query the spaces containing a required product.

Signature

LogicalOccurrence -> QuerySpaces(SpaceConceptRoot: SPP_SpaceConceptRoot,
			FilterVolumeMode: Integer,
			Clearance: Length,
			SpacePLMType: String,
			ExtensionPLMType: String,
			ListOfSpaces: out List): Boolean

Arguments

Name Input / Output Required? Type Comment
SpaceConceptRoot In Yes SPP_SpaceConceptRoot The spaces available under this space concept root are queried. If it is NULL, the spaces available under the space folder set in Data Setup, are queried.
ThisObjectOccurrence In Yes ProductOccurrence The occurrences of the product which intersects some space references.
filterVolumeMode In Yes Integer Mode of query:
  • 1 (Fully IN): Filters spaces which are fully inside the selected object.(Usually, space is bigger than the selected object. Hence, it is difficult to get a result with this mode.)
  • 2 (Fully OUT): Filters spaces which are fully outside the selected object.
  • 3 (Partly IN): Filters spaces which are across and fully inside the selected object.
  • 4 (Partly OUT): Filters spaces which are across and fully outside the selected object.
clearance In Yes Length It specifies the clearance distance around the input object.
spaceType In Yes String The name of the PLMType of the space to be filtered. For example, SSM_DesignSpaceRef.
ExtensionPLMType In Yes String Name of the PLMType of extension to be filtered.
ListOfPLMSpaceOccurences Out Yes List Output list of the space occurrences containing the given product based on the mode of query.

ReturnType

Boolean

TRUE if the query is successful, FALSE if not.

Example

let filterVolumeMode(Integer)
let clearance(LENGTH) 
let spaceType(String) 
let ExtensionPLMType(String) 
let ListOfPLMSpaceOccurences (List) 
let OccurenceSpaceQueryResult(PLMOccurrenceQueryResult)
let SpaceOccurrence(ProductOccurrence) 
let i(Integer) 
let result(Boolean) 
let spaceConceptRoot(SPP_SpaceConceptRoot)

filterVolumeMode =3
clearance=0m
i=1  
result = ThisObjectOccurrence.QuerySpaces(spaceConceptRoot,
             filterVolumeMode, 
             clearance,spaceType,  
             ExtensionPLMType,  
             ListOfPLMSpaceOccurences) 
if(result)
{    
	for i while i <= ListOfPLMSpaceOccurences.Size()   
	{        
		OccurenceSpaceQueryResult = ListOfPLMSpaceOccurences.GetItem(i)       
		if(OccurenceSpaceQueryResult <> NULL)       
		{                      
				attrValue=OccurenceSpaceQueryResult.GetAttributeString("PLM_ExternalID")
				Message(attrValue)	              
		}                       		    
	}
}

LogicalOccurrence.SetNominalPower()

This method sets the nominal power for for equipment reference with at least one electrical port. -

Signature

LogicalOccurrence.SetNominalPower(NominalPower : Real) : Boolean

Arguments

Name Input/Output Required? Type Comment
NominalPower In Real Defines the nominal power value.

ReturnType

Boolean

Example

Let value(Real)
Let svalue(String)
thisObject->GetNominalPower(value)
svalue=ToString(value)

Message(svalue)

SysConnectable.GetRelatedConnections()

This method returns the list of connections pointing the given port through this connectable.

Signature

SysConnectable.GetRelatedConnections(Port : SysPort) : List

Arguments

Name Input / Output Required? Type Comment
Port In Yes SysPort Lists the connections.

ReturnType

List

SysConnectable.GetRelatedConnections()

This method returns the list of connections pointing the given interface through this connectable.

Signature

SysConnectable.GetRelatedConnections(List of SysInterface : List) : List

Arguments

Name Input / Output Required? Type Comment
List of SysInterface In Yes List Describes the interface (a path of instance, a port,...).

ReturnType

List

SysConnectable.GetRelatedSystems()

This method retrieves the list of connectables and ports connected to this connectable through the given port.

Signature

SysConnectable.GetRelatedSystems() : List

ReturnType

List

SysConnectable.GetRelatedSystemsFromInterface()

This method returns the list of systems that are linked to the specified interface of this connectable element.

Signature

SysConnectable.GetRelatedSystemsFromInterface(List of SysInterface : List) : List

Arguments

Name Input / Output Required? Type Comment
List of SysInterface In Yes List -

ReturnType

List

SysConnectable.GetRelatedSystemsFromPort()

This method returns the list of systems that are linked with the specified interface of this connectable element. It can also returns the list of systems that are linked with the specified port of this connectable element.

Signature

SysConnectable.GetRelatedSystemsFromPort(Port : SysPort, List of Connectables : List, List of Ports : List)

Arguments

Name Input / Output Required? Type Comment
Port In Yes SysPort -
List of Connectables Out Yes List -
List of Ports Out Yes List -

SysConnection.GetRelatedSystems()

This method retrieves the list of interfaces in the context pointed by this connection.

Signature

SysConnection.GetRelatedSystems() : List

ReturnType

List

SysConnection.GetRelatedSystems()

This methods retrieves the list of connectable and the list of ports that are pointed by this connection.

Note: It is recommended to use the next method with interface in context.

Signature

SysConnection.GetRelatedSystems(List of Connectables : List, List of Ports : List)

Arguments

Name Input / Output Required? Type Comment
List of Connectables Out Yes List -
List of Ports Out Yes List -

SysItfInContext.Compare()

This methods compares two SysItfInContext (compares the SysConnectable and the path of the SysInterfaces associated with the SysItfInContexts).

Signature

SysItfInContext.Compare(ItfInContext : SysItfInContext) : Boolean

Arguments

Name Input / Output Required? Type Comment
ItfInContext In Yes SysItfInContext -

ReturnType

Boolean

SysItfInContext.GetSysConnectable()

This method returns the SysConnectable associated with this SysItfInContext.

Signature

SysItfInContext.GetSysConnectable() : SysConnectable

ReturnType

SysConnectable

SysItfInContext.GetSysInterfaces()

This function is described below.

Signature

SysItfInContext.GetSysInterfaces() : List

ReturnType

List

SysPort.GetRelatedSystems()

This method returns the list of connectable and ports that are linked with this ports through the given connectable.

Signature

SysPort.GetRelatedSystems(Connectable : SysConnectable, List of Connectables : List, List of Ports : List)

Arguments

Name Input / Output Required? Type Comment
Connectable In Yes SysConnectable -
List of Connectables Out Yes List -
List of Ports Out Yes List -