Manufacturing Substitute Methods

This section describes Manufacturing Substitute methods for the creation, deletion and navigation of Substitute connections on process instance to process reference.

This page discusses:

DELFmiMfgSubstituteCnx.GetSubstituteRelationOwner()

Returns the reference aggregating the connection.

Signature

DELFmiMfgSubstituteCnx.GetSubstituteRelationOwner() : DELFmiFunctionReference

ReturnType

DELFmiFunctionReference

DELFmiMfgSubstituteCnx.GetSubstituteRelationSource()

Retrieves the source of the connection, the Substitute SR status, and the name of the instance.

Signature

DELFmiMfgSubstituteCnx.GetSubstituteRelationSource(A_Process : DELFmiFunctionInstance, SRStatus : SubstituteSRStatus, A_Process : String) : Integer

Arguments

Name Input/Output Required? Type Comment
A_Process Out DELFmiFunctionInstance -
SRStatus Out SubstituteSRStatus -
A_Process Out String -

ReturnType

Integer

DELFmiMfgSubstituteCnx.GetSubstituteRelationTarget()

Retrieves the target of the connection, the Substitute SR status, and the name of the reference.

Signature

DELFmiMfgSubstituteCnx.GetSubstituteRelationTarget(A_Process : DELFmiFunctionReference, SRStatus : SubstituteSRStatus, Load Mode: 0(No load),1(Target Only) or 2(load With Children) : Integer, A_Process : String) : Integer

Arguments

Name Input/Output Required? Type Comment
A_Process Out DELFmiFunctionReference -
SRStatus Out SubstituteSRStatus -
Load Mode: 0(No load),1(Target Only) or 2(load With Children) In Integer -
A_Process Out String -

ReturnType

Integer

DELFmiMfgSubstituteCnx.RemoveSubstituteRelation()

Removes the connection.

Signature

DELFmiMfgSubstituteCnx.RemoveSubstituteRelation() : Integer

ReturnType

Integer

DELFmiMfgSubstituteCnx.SetSubstituteRelationSource()

Sets the input instance as source of the connection.

Signature

DELFmiMfgSubstituteCnx.SetSubstituteRelationSource(A_Process : DELFmiFunctionInstance) : Integer

Arguments

Name Input/Output Required? Type Comment
A_Process In DELFmiFunctionInstance --

ReturnType

Integer

DELFmiMfgSubstituteCnx.SetSubstituteRelationTarget()

Sets the input reference as target of the connection.

Signature

DELFmiMfgSubstituteCnx.SetSubstituteRelationTarget(A_Process : DELFmiFunctionReference) : Integer

Arguments

Name Input/Output Required? Type Comment
A_Process In DELFmiFunctionReference -

ReturnType

Integer