PLMProductionSystemAdvTypePackage Types

This section describes the types of the PLMProductionSystemAdvTypePackage.

Note: The "item" objects described in this document were known as "processes" in previous releases. The term "process" is still used in the names of functions, types, methods, attributes, and so on. In this case, "process" now means "item".

This page discusses:

DELImplicitFilteringOverload

Specifies the implicit filtering overload values stored on an operation instance using the ProdSystemOccurrence.SetImplicitFilteringOverload and ProdSystemOccurrence. GetImplicitFilteringOverload methods.

Inheritance Path

ObjectType
Literal
Enumere
 DELImplicitFilteringOverload

Counted Values

Value NLS Value Comment
None None Operation having no overloading attribute.
FilteredBasedOnSiblings Based on siblings Operation filtering relies on its siblings, ignoring the implemented items.
NeverFiltered Never filtered Operation instance is never filtered even if all its implemented items are filtered.

Methods

The following methods are associated with this type:

OperationType

Specifies the type of operation to be created using the ProdSystemOccurrence.InsertNewOperation method.

Inheritance Path

ObjectType
Literal
Enumere
 OperationType

Counted Values

Value NLS Value Comment
OperationUnset Unset Operation -
GeneralOperation General Operation -
PunctualOperation Punctual Operation -
CurveOperation Curve Operation -
LoadingOperation Loading Operation -
UnloadingOperation Unloading Operation -
RemoveMaterialOperation Remove Material Operation -
TransferOperation Transfer Operation -
SourceOperation Source Operation -
SinkOperation Sink Operation -
BufferOperation Buffer Operation -
InterruptOperation Interrupt Operation -
ExecutionGeneralOperation ExecutionGeneralOperation -
ExecutionPunctualOperation ExecutionPunctualOperation -
ExecutionCurveOperation ExecutionCurveOperation -
ExecutionLoadingOperation ExecutionLoadingOperation -
ExecutionUnloadingOperation ExecutionUnloadingOperation -
ExecutionRemoveMaterialOperation ExecutionRemoveMaterialOperation -
ExecutionTransferOperation ExecutionTransferOperation -
ExecutionSourceOperation ExecutionSourceOperation -
ExecutionSinkOperation ExecutionSinkOperation -
ExecutionBufferOperation ExecutionBufferOperation -
ExecutionInterruptOperation ExecutionInterruptOperation -

ProdSystemOccurrence

Represents the occurrence of a system or operation in Manufacturing Planning applications.

Inheritance Path

ObjectType
Feature
ProdSystemOccurrence

Attributes

Name Type Comment
AssignedProcesses List Returns the items (list of FPProcessOccurrence) assigned to this system occurrence.
CandidateResourceScope VPMReference Returns the candidate resource scope assigned to this system occurrence.
Instance PLMEntity Returns the system instance or operation instance related to this system occurrence.
MaterialFlowSystemsFrom List Returns the system occurrences (list of ProdSystemOccurrence) having a material flow to this system occurrence.
MaterialFlowSystemsTo List Returns the system occurrences (list of ProdSystemOccurrence) having a material flow from this system occurrence.
NumberOfCandidateResources Integer Returns the number of candidate resources assigned to this system occurrence.
ProcessOfEachScope List Returns the item references (list of DELFmiFunctionReference) having scope links to this system occurrence.
Reference PLMEntity Returns the system reference or the operation reference related to this system occurrence.

SystemType

Specifies the type of system to be created using the ProdSystemOccurrence.InsertNewSystem method.

Inheritance Path

ObjectType
Literal
Enumere
SystemType

Counted Values

Value NLS Value Comment
SystemUnset Unset System -
GeneralSystem General System -
TransformationSystem Transformation System -
TransferSystem Transfer System -
StorageSystem Storage System -
SourceSystem Source System -
SinkSystem Sink System -
BufferSystem Buffer System -
ExecutionGeneralSystem ExecutionGeneralSystem -
ExecutionTransformationSystem ExecutionTransformationSystem -
ExecutionTransferSystem ExecutionTransferSystem -
ExecutionStorageSystem ExecutionStorageSystem -
ExecutionSourceSystem ExecutionSourceSystem -
ExecutionSinkSystem ExecutionSinkSystem -
ExecutionBufferSystem ExecutionBufferSystem -

Example of Use: Managing Candidate Resources

The following EKL script shows how the ProdSystemOccurrence type and associated methods can be used for managing candidate resources.

Let ResourceRefRead (VPMReference)
Let ResourceScopeRef (VPMReference)
Let RscChildOcc (List)
Let RscOcc (ResourceOccurrence)
Let NbRes (Integer)
Let CandidateRscOccList (List)
Let RscOccRead (ResourceOccurrence)
Let Index (Integer)
Let NbOcc (Integer)

/* SelProdSysOcc is a ProdSystemOccurrence given as input by user selection. 
It should be a ProdSystemOccurrence of a System
*/

/* SelRscOccForScope is a ResourceOccurrence given as input by user selection 
to be used as Candidate resource scope */
Set ResourceScopeRef = SelRscOccForScope.Reference

/* SelRscOcc is a ResourceOccurrence given as input by user selection*/
/* In this sample, it has 2 resource occurrence children */
Set RscChildOcc = SelRscOcc.Children 

/* Candidate Resource Scope link creation */
SelProdSysOcc.CreateCandidateResourceScopeLink(ResourceScopeRef)

/* Get the Candidate Resource Scope */
Set ResourceRefRead = SelProdSysOcc.CandidateResourceScope

/* Candidate Resource link creation */
For RscOcc inside RscChildOcc 
{
   SelProdSysOcc.CreateCandidateResourceLink(RscOcc)
}

/* Get the number of candidate resources */
NbRes = SelProdSysOcc.NumberOfCandidateResources
if (NbRes <> 2)
   Message ("NumberOfCandidateResource Wrong : expected 2 here")

/* Get the candidate resource */
for Index while Index <= RscChildOcc.Size()
{
   Set CandidateRscOccList= SelProdSysOcc.GetCandidateResource(Index, ResourceScopeRef )
   Set NbOcc = CandidateRscOccList.Size()
   if (NbOcc <> 1)
      Message ("No candidate Resource Found!!")
}

/* Remove a Candidate Resource */
For RscOcc inside CandidateRscOccList
{
   SelProdSysOcc.RemoveCandidateResourceLink(RscOcc)
}

/* Get the number of candidate resources after remove */
NbRes = SelProdSysOcc.NumberOfCandidateResources
if (NbRes <> 1)
   Message ("NumberOfCandidateResource Wrong : expected 1 here")

/* Remove All Candidate Resources */
SelProdSysOcc.RemoveAllCandidateResourceLinks ()

/* Get the number of candidate resources after remove all */
NbRes = SelProdSysOcc.NumberOfCandidateResources
if (NbRes <> 0)
   Message ("NumberOfCandidateResource Wrong : Expected 0 here")

/* Remove Candidate Resource Scope */
SelProdSysOcc.RemoveCandidateResourceScopeLink()