Detail the Strategy for the Creation of the Children of a Detailed Fasten DELMA_ ElementaryEndItemStrategy_ID

An opening ID is an entry point used to customize business logic. DELMA_ ElementaryEndItemStrategy_ID supports the detailing of the strategy for creation of the Manufacturing Items children of the Detailed Fasten reference.

This CATRule file is located in win_b64\resources\knowledge\scripts.

Note: For more information about customization by business rules, see Customization by Business Rules.

This page discusses:

General Information

This CATRule file must be created and modified in sync with the CATRule file used to define what needs to be done for a given Strategy on the elementary part manufacturing item (Drill/Pre Drill, mount components,…) for each Fastener occurrence.

The CATRule file used for Manufactured Part creation is the following: DELMA_ElementaryEndItemStrategy.CATRule, corresponding to the following OpeningID: DELMA_ ElementaryEndItemStrategy_ID.

Similarly to what the above CATRule file does for Manufactured Part creation, the new CATRule file details for a given Strategy what remains to be done at assembly or installation item for each Fastener occurrence (remaining drillings, remaining components to install).

It is executed at the Detailed Fasten creation time for each Fastener occurrence of the Bundle. This CATRule file (sample is: DELMA_DetailedFastenStrategy.CATRule) is related to a new OpeningID: DELMA_DetailedFastenStrategy_ID and must be implemented for the type SpotAssyFastenerOccurrence.

Input Objects

Inputs Comments
This (SpotAssyFastenerOccurrence) The Fastener occurrence that is implemented by the Detailed Fasten instance (and that is supposed to be already implemented by the Fasten instance)
iFastenOccurrence (MfgProcessOccurrence) : The instance of Fasten that is supposed to be replaced by the Detailed Fasten. (NULL if called outside replace context)

Output Objects

Output Object Comments
oListOfComponents (List of ProductOccurrence): the list of mounted components for the input fastener
oDrillType (Integer) Possible values:
  • 1: Pre-Drill
  • 2: Drill
  • 3: NoDrill
  • 4: NoRemoveMaterial
oHoleDiameter(Real) Hole Diameter
oHoleDepth(Real) Hole Depth
Parameters below only meaningful if oDrillType==2
oHoleType(Integer) Drill Type. Possible values:
  • 1: Simple
  • 2: Counterbored
  • 3: Countersunk
oCBDiameter(Real) Drill counter bore diameter
oCBDepth(Real) Drill counter bore depth
oCSAngle(Real) Drill countersunk angle
oCSDepth(Real) Drill countersunk depth

The application uses the output values to:

  • Create Provide instances children of the Detailed Fasten Reference for each component from the oListOfComponents list with implement links to these components in the context of the Partial Scope link.
  • Create a Remove Material item (PreDrill / Drill / NoDrill) child of the Detailed Fasten Reference if the oDrillType value is between 1 and 3. No implement link is created from this Remove Material to the Fastener.
  • Valuate the attributes of the Remove Material item (PreDrill / Drill / NoDrill) with values of oHoleDiameter and oHoleDepth attributes.
  • Valuate the attributes of the Drill item with values of oHoleType, then:
    • oCBDiameter and oCBDepth if oHoleType is 2, or
    • oCSAngle and oCSDepth if oHoleType is 3.