Fastener Types

This package lets you define fasteners that have specifications.

This page discusses:

BeadFastenerOccurrence

This type lets you define occurrences of bead fasteners.

Inheritance Path

ObjectType
  Feature
  FastenerOccurrence
   BeadFastenerOccurrence

Example

/* Variables declaration */
Let ListOfFastenedParts(List)
Let NumberOfFastenedParts(Integer)
Let pBeadFastenerOcc(BeadFastenerOccurrence)
Let pFastenedPartOcc(ProductOccurrence)
Let IndexOfFastenedPart(Integer)
…
/* Retrieve list of Fastened Parts occurrences of given BeadFastenerOccurrence */
Set ListOfFastenedParts = pBeadFastenerOcc ->FastenedParts
Set NumberOfFastenedParts = ListOfFastenedParts->Size()
Set IndexOfFastenedPart = 1
For IndexOfFastenedPart while IndexOfFastenedPart <= NumberOfFastenedParts
{
Set pFastenedPartOcc = ListOfFastenedParts->GetItem(IndexOfFastenedPart)
If (pFastenedPartOcc <> NULL)
{
…
}
…
}…

FastenerOccurrence

This type lets you define occurrences of all fasteners (all spot and bead fasteners).

Inheritance Path

ObjectType
 Feature
  FastenerOccurrence

Attributes

Name used in EKLNLS NameTypeComment
FastenedPartsFastenedParts ListFastened parts

Example

/* Variables declaration */
Let ListOfFastenedParts(List)
Let NumberOfFastenedParts(Integer)
Let pFastenerOcc(FastenerOccurrence)
Let pFastenedPartOcc(ProductOccurrence)
Let IndexOfFastenedPart(Integer)
…
/* Retrieve list of Fastened Parts occurrences of given FastenerOccurrence */
Set ListOfFastenedParts = pFastenerOcc ->FastenedParts
Set NumberOfFastenedParts = ListOfFastenedParts->Size()
Set IndexOfFastenedPart = 1
For IndexOfFastenedPart while IndexOfFastenedPart <= NumberOfFastenedParts
{
Set pFastenedPartOcc = ListOfFastenedParts->GetItem(IndexOfFastenedPart)
If (pFastenedPartOcc <> NULL)
{
…
}
…
}…

Fst_Component

This type lets you define a component for a fastener.

Inheritance Path

ObjectType
 Feature
  Fst_Component

Attributes

NameTypeComment
DiameterLENGTH Diameter of the component
FootDiameterLENGTH Diameter of the foot of the component
FootLengthLENGTH Length of the foot of the component
HeadDiameterLENGTH Diameter of the head of the component
HeadLengthLENGTH Length of the head of the component
IOFFSETLENGTH Offset on I axis
JOFFSETLENGTH Offset on J axis
KOFFSETLENGTH Offset on K axis
LengthLENGTH Length of the component
ShapeTypeString Type of the shape of the component
SymbolicIdentifierString Symbolic name of the component

Example

 FstComp:Fst_Component
Message("# : Diameter: #, FstComp.Diameter)

Fst_SpotAssy_Base

This type lets you define spot fasteners with components.

Inheritance Path

ObjectType
 Feature
  Fst_SpotAssy_Base

Attributes

NameTypeComment
K_XLENGTH X axis of the fastener's axis system
K_YLENGTH Y axis of the fastener's axis system
K_ZLENGTH Z axis of the fasteneres axis system
TypeDescriptorString Description of the fastener's type

Example

 FstSpotAssy:Fst_SpotAssy_Base
 Message("# :  TypeDescriptor: #, FstSpotAssy.TypeDescriptor)

SpotAssyFastenerOccurrence

This type lets you define occurences of spot fasteners with components.

Inheritance Path

ObjectType
  Feature
  FastenerOccurrence
   SpotAssyFastenerOccurrence

Example

/* Variables declaration */
Let ListOfFastenedParts(List) 
Let NumberOfFastenedParts(Integer)
Let pSpotAssyFastenerOcc(SpotAssyFastenerOccurrence)
Let pFastenedPartOcc(ProductOccurrence)
Let IndexOfFastenedPart(Integer)
… 

/* Retrieve list of Fastened Parts occurrences of given SpotAssyFastenerOccurrence */
Set ListOfFastenedParts = pSpotAssyFastenerOcc->FastenedParts

Set NumberOfFastenedParts = ListOfFastenedParts->Size()
Set IndexOfFastenedPart = 1
For IndexOfFastenedPart while IndexOfFastenedPart <= NumberOfFastenedParts
{
				Set pFastenedPartOcc = ListOfFastenedParts->GetItem(IndexOfFastenedPart)
				If (pFastenedPartOcc  <> NULL)
				{
							…
				}
				…
}

SpotSingleFastenerOccurrence

This type lets you define occurences of spot fasteners without components.

Inheritance Path

ObjectType
  Feature
  FastenerOccurrence
   SpotSingleFastenerOccurrence

Example

/* Variables declaration */
Let ListOfFastenedParts(List) 
Let NumberOfFastenedParts(Integer)
Let pSpotSingleFastenerOcc(SpotSingleFastenerOccurrence)
Let pFastenedPartOcc(ProductOccurrence)
Let IndexOfFastenedPart(Integer)
… 

/* Retrieve list of Fastened Parts occurrences of given SpotSingleFastenerOccurrence */
Set ListOfFastenedParts = pSpotSingleFastenerOcc->FastenedParts

Set NumberOfFastenedParts = ListOfFastenedParts->Size()
Set IndexOfFastenedPart = 1
For IndexOfFastenedPart while IndexOfFastenedPart <= NumberOfFastenedParts
{
				Set pFastenedPartOcc = ListOfFastenedParts->GetItem(IndexOfFastenedPart)
				If (pFastenedPartOcc  <> NULL)
				{
								…
				}
				…
}
…