Lets you get a list of part types provided by the filter unit.
Signature
EnsFilterUnit.GetProvidedPartTypes(ListOfUnitProvidedPartTypes : List) : Boolean
Arguments
Name | Input / Output | Required? | Type | Comment |
ListOfUnitProvidedPartTypes | Out | Yes | List | List of the part types provided by the filter unit. |
Example
let pEnsFilterUnit (EnsFilterUnit)
let ListOfUnitProvidedPartTypes (List)
let sUnitProvidedPartTypeName (String)
let NbUnitProvidedPartTypes (Integer)
let res (Boolean)
let k (Integer)
res=false
…
res = pEnsFilterUnit-> GetProvidedPartTypes(ListOfUnitProvidedPartTypes)
NbUnitProvidedPartTypes = ListOfUnitProvidedPartTypes.Size()
k=1
for k while k <= NbUnitProvidedPartTypes
{
set sUnitProvidedPartTypeName = ListOfUnitProvidedPartTypes.GetItem(k)
}