Implement Link Functions Functions

The ImplementLinkFunctions package provides functions to return the list of implemented or implementing objects, in their context, and their associated list of implement links.

This page discusses:

GetImplemented

This function returns the list of implemented objects in their context (if any) and their associated list of implement links.

Signature

GetImplemented(The list of object(s) : List, The list of connection(s) : List) : List

Arguments

Name Input / Output Required? Type Comment
The list of object(s) In Yes List The implementing object in its context if any. The implementing object is described as a path of PLM entities thanks to a list.
The list of connection(s) Out Yes List The list of implement link connection(s) associated to the list of returned implemented object(s)

ReturnType

List

Returns the list of implemented object(s) in their context if. Each of the implemented object of the list is itself described as a path of PLM entities thanks to a list.

Example

let ImplementingObjectAsPath (List)
let ImplementLinkList (List)
let ImplementLink (PLMEntity)
let ImplementedObjectList (List)
let ImplementedObjectAsPath (List)
let myEntity (PLMEntity)
...
set myEntity = ...
...
ImplementingObjectAsPath->Append(myEntity)
set ImplementedObjectList=GetImplemented(ImplementingObjectAsPath,ImplementLinkList)
...
set ImplementedObjectAsPath =
ImplementedObjectList->GetItem(1)
set ImplementLink =
ImplementLinkList->GetItem(1)
...

GetImplementing

This function returns the list of implementing objects in their context (if any) and their associated list of implement links.

Signature

GetImplementing(The list of object(s) : List, The list of connection(s) : List) : List

Arguments

NameInput / OutputRequired?TypeComment
The list of object(s)InYesListThe implemented object in its context if any. The implemented object is described as a path of PLM entities thanks to a list.
The list of connection(s)OutYesListThe list of implement link connection(s) associated to the list of returned implementing object(s)

ReturnType

List

Returns the list of implementing object(s) in their context if any. Each of the implementing object of the list is itself described as a path of PLM entities thanks to a list.

Example

let ImplementedObjectAsPath (List)
let ImplementLinkList (List)
let ImplementLink (PLMEntity)
let ImplementingObjectList (List)
let ImplementingObjectAsPath (List)
let myEntity (PLMEntity)
...
set myEntity = ...
...
ImplementedObjectAsPath->Append(myEntity)
set ImplementingObjectList =
GetImplementing(ImplementedObjectAsPath,ImplementLinkList)
...
set ImplementingObjectAsPath =
ImplementingObjectList->GetItem(1)
set ImplementLink=ImplementLinkList->GetItem(1)
...