Fastener Methods

This topic provides information about the fastener methods.

This page discusses:

FastenerComponent.GetClassificationAttribute()

This method retrieves the classification attribute value of the component reference.

Signature

FastenerComponent.GetClassificationAttribute(isAttrName : String, oValueParm : String) : Integer

Arguments

Name Input/Output Required? Type
isAttrName In String
oValueParm Out String

ReturnType

Integer

FastenerComponent.GetPLMAttribute()

This method retrieves the PLM attribute value of the component reference.

Signature

FastenerComponent.GetPLMAttribute(isAttrName : String, oValueParm : String) : Integer

Arguments

Name Input/Output Required? Type
isAttrName In String
oValueParm Out String

ReturnType

Integer

FastenerEngSpecData_Drilling.CommitProperties()

This method sets all drilling attributes on fastener instances.

Signature

If EngineeringSpecificationMode = TRUE, all the inputs like standard, codes will be validated. It fails, if not valid inputs.

FastenerEngSpecData_Drilling.CommitProperties() : Integer

ReturnType

Integer

FastenerEngSpecData_HeadOrientation.CommitProperties()

This method sets all head orientation attributes on fastener instances.

Signature

FastenerEngSpecData_HeadOrientation.CommitProperties() : Integer

ReturnType

Integer

FastenerEngSpecData_Torque.CommitProperties()

This method sets all torque attributes on fastener instances.

Signature

FastenerEngSpecData_Torque.CommitProperties() : Integer

ReturnType

Integer

FastenerEngSpecData_Torque.GetHeadSideTorqueValues()

This browse method retrieves head side torque values.

Signature

FastenerEngSpecData_Torque.GetHeadSideTorqueValues(odTorqueNominalValue : TORQUE, odTorqueMaxLowerDeviationValue : TORQUE, odTorqueMaxUpperDeviationValue : TORQUE) : Integer

Arguments

Name Input/Output Required? Type
odTorqueNominalValue Out TORQUE
odTorqueMaxLowerDeviationValue Out TORQUE
odTorqueMaxUpperDeviationValue Out TORQUE

ReturnType

Integer

FastenerEngSpecData_Torque.GetTailSideTorqueValues()

This browsing method is used to retrieve tail side torque values.

Signature

FastenerEngSpecData_Torque.GetTailSideTorqueValues(odTorqueNominalValue : TORQUE, odTorqueMaxLowerDeviationValue : TORQUE, odTorqueMaxUpperDeviationValue : TORQUE) : Integer

Arguments

Name Input/Output Required? Type
odTorqueNominalValue Out TORQUE
odTorqueMaxLowerDeviationValue Out TORQUE
odTorqueMaxUpperDeviationValue Out TORQUE

ReturnType

Integer

FastenerEngSpecData_Torque.SetHeadSideTorqueValues()

This authoring method is used to set head side torque values.

Signature

FastenerEngSpecData_Torque.SetHeadSideTorqueValues(idTorqueNominalValue : TORQUE, idTorqueMaxLowerDeviationValue : TORQUE, idTorqueMaxUpperDeviationValue : TORQUE) : Integer

Arguments

Name Input/Output Required? Type
idTorqueNominalValue In TORQUE
idTorqueMaxLowerDeviationValue In TORQUE
idTorqueMaxUpperDeviationValue In TORQUE

ReturnType

Integer

FastenerEngSpecData_Torque.SetTailSideTorqueValues()

This authoring method sets tail side torque values.

Signature

FastenerEngSpecData_Torque.SetTailSideTorqueValues(idTorqueNominalValue : TORQUE, idTorqueMaxLowerDeviationValue : TORQUE, idTorqueMaxUpperDeviationValue : TORQUE) : Integer

Arguments

Name Input/Output Required? Type
idTorqueNominalValue In TORQUE
idTorqueMaxLowerDeviationValue In TORQUE
idTorqueMaxUpperDeviationValue In TORQUE

ReturnType

Integer

FastenerEngineeringSpecData.CopyDrillingProperties()

This method copies the drilling properties associated with a specific fastener to a target fastener. If the source fastener has the drilling properties of the Engineering Specification mode, the function validates these drilling properties before applying them to the target fastener.

Signature

FastenerEngineeringSpecData.CopyDrillingProperties(iFlexibleFastenerInstance : PLMFst_FlexibleFastenerInstance) : Integer

ReturnType

Integer

FastenerEngineeringSpecData.CopyTorqueProperties()

This method copies the torque properties associated with a specific fastener to a target fastener. If the source fastener has the torque properties of the Engineering Specification mode, the function validates these drilling properties before applying them to the target fastener. s

Signature

FastenerEngineeringSpecData.CopyTorqueProperties(iFlexibleFastenerInstance : PLMFst_FlexibleFastenerInstance) : Integer

Arguments

Name Input/Output Required? Type
iFlexibleFastenerInstance In PLMFst_FlexibleFastenerInstance

ReturnType

Integer

FastenerEngineeringSpecData.GetDrillingSpecData()

This method retrieves the drilling properties associated with a specific fastener.

Signature

FastenerEngineeringSpecData.GetDrillingSpecData(oDrillingSpecData : FastenerEngSpecData_Drilling) : Integer

Arguments

Name Input/Output Required? Type
oDrillingSpecData Out FastenerEngSpecData_Drilling

ReturnType

Integer

FastenerEngineeringSpecData.GetHeadSideTorqueValues()

This method retrieves the head side torque values associated with a specific fastener.

Signature

FastenerEngineeringSpecData.GetHeadSideTorqueValues(odTorqueNominalValue : TORQUE, odTorqueMaxLowerDeviationValue : TORQUE, odTorqueMaxUpperDeviationValue : TORQUE) : Integer

Arguments

Name Input/Output Required? Type
odTorqueNominalValue Out TORQUE
odTorqueMaxLowerDeviationValue Out TORQUE
odTorqueMaxUpperDeviationValue Out TORQUE

ReturnType

Integer

FastenerEngineeringSpecData.GetTailSideTorqueValues()

This browse method retrieves tail side torque values.

Signature

FastenerEngineeringSpecData.GetTailSideTorqueValues(odTorqueNominalValue : TORQUE, odTorqueMaxLowerDeviationValue : TORQUE, odTorqueMaxUpperDeviationValue : TORQUE) : Integer

Arguments

Name Input/Output Required? Type
odTorqueNominalValue Out TORQUE
odTorqueMaxLowerDeviationValue Out TORQUE
odTorqueMaxUpperDeviationValue Out TORQUE

ReturnType

Integer

FastenerEngineeringSpecData.GetTorqueSpecData()

This method retrieves the torque properties associated with a specific fastener.

Signature

FastenerEngineeringSpecData.GetTorqueSpecData(oTorqueSpecData : FastenerEngSpecData_Torque) : Integer

Arguments

Name Input/Output Required? Type
oTorqueSpecData Out FastenerEngSpecData_Torque

ReturnType

Integer

FastenerEngineeringSpecData.RemoveDrillingProperties()

This method removes the drilling properties associated with a specific fastener.

Signature

FastenerEngineeringSpecData.RemoveDrillingProperties() : Integer

ReturnType

Integer

FastenerEngineeringSpecData.RemoveHeadOrientationProperties()

This method removes the head orientation properties associated with a specific fastener.

Signature

FastenerEngineeringSpecData.RemoveHeadOrientationProperties() : Integer

ReturnType

Integer

FastenerEngineeringSpecData.RemoveTorqueProperties()

This method removes the torque properties associated with a specific fastener.

Signature

FastenerEngineeringSpecData.RemoveTorqueProperties() : Integer

ReturnType

Integer

FastenerModificationInfo.GetPositionModificationInfo()

This method retrieves information about modifications to the position of a fastener.

Signature

FastenerModificationInfo.GetPositionModificationInfo(oPositionModificationInfo : FastenerPositionModificationInfo) : Integer

Arguments

Name Input/Output Required? Type
oPositionModificationInfo Out FastenerPositionModificationInfo

ReturnType

Integer

FastenerModificationInfo.GetReferenceModificationInfo()

This method retrieves information about how the fastener reference has changed within an assembly.

Signature

FastenerModificationInfo.GetReferenceModificationInfo(oReferenceModificationInfo : FastenerReferenceModificationInfo) : Integer

Arguments

Name Input/Output Required? Type
oReferenceModificationInfo Out FastenerReferenceModificationInfo

ReturnType

Integer

FastenerModificationInfo.GetStackingModificationInfo()

This methods retrieves information about modifications made to the stacking of fasteners in an assembly.

Signature

FastenerModificationInfo.GetStackingModificationInfo(oStackingModificationInfo : FastenerStackingModificationInfo) : Integer

Arguments

Name Input/Output Required? Type
oStackingModificationInfo Out FastenerStackingModificationInfo

ReturnType

Integer

FastenerModificationInfo.GetTorqueModificationInfo()

This method retrieves information about how the torque applied to a fastener should be modified.

Signature

FastenerModificationInfo.GetTorqueModificationInfo(oTorqueModificationInfo : FastenerTorqueModificationInfo) : Integer

Arguments

Name Input/Output Required? Type
oTorqueModificationInfo Out FastenerTorqueModificationInfo

ReturnType

Integer

FastenerOccurrence.GetBundle()

This method retrieves fastener bundle reference.

Signature

FastenerOccurrence.GetBundle(oBundle : BundleFastenerAbstract)BundleFastenerAbstract : Integer

Arguments

Name Input/Output Required? Type
oBundle Out BundleFastenerAbstract

ReturnType

Integer

FastenerOccurrence.GetFastenerTechnology()

This method retrieves fastener type and category.

Signature

FastenerOccurrence.GetFastenerTechnology(oeType : FastenerType, ostrProcessCategory : String, ostrProcessType : String) : Integer

Arguments

Name Input/Output Required? Type
oeType Out FastenerType
ostrProcessCategory Out String
ostrProcessType Out String

ReturnType

Integer

Example

let fstRef(Fastener)
set fstRef=mySelection
if( fstRef <> NULL)
{
	let sFastenerType(FastenerType)
	let sProcessCategory(string)
	let sParmProcessType(string)
	fstRef.GetFastenerTechnology(sFastenerType,sProcessCategory,sProcessType)
	Notify("   Type #, ProcessCategory #, ProcessType #", sFastenerType,sProcessCategory,sProcessType)
}

FastenerOccurrence.GetIndexOfFastenedPart()

This method returns the index of the input productOccurence inside the stacking of the FastenerOccurrence.

Signature

FastenerOccurrence.GetIndexOfFastenedPart(Part : ProductOccurrence Integer

Arguments

Name Input/Output Required? Type
Part In ProductOccurrence

ReturnType

Integer

FastenerOccurrence.GetStackings()

This method retrieves the list of stacking for this fastener.

Signature

FastenerOccurrence.GetStackings(ibOnlyResolvedStacking : Boolean, oListOfStackings : List) : Integer

Arguments

Name Input/Output Required? Type
ibOnlyResolvedStacking In Boolean
oListOfStackings Out List

ReturnType

Integer

FastenerOccurrence.IsASecondaryFastener()

This method returns "TRUE" if the FastenerOccurrence is a secondary fastener occurrence, i.e. if one of its fastened parts is a fastener component.

Signature

FastenerOccurrence.IsASecondaryFastener() : Boolean

ReturnType

Boolean

Example

Let ThisFastenerOccurrence(FastenerOccurrence)
Let IsSecFastener(Boolean)
...
Set IsSecFastener = ThisFastenerOccurrence.IsASecondaryFastener

FastenerStacking.GetPathOfStackParts()

This method returns the list of paths of fastened parts.

Signature

FastenerStacking.GetPathOfStackParts(oListOfPathOfStackParts : List) : Integer

Arguments

Name Input/Output Required? Type
oListOfPathOfStackParts Out List

ReturnType

Integer

Example

let selBundleRef(BundleFastener)
set selBundleRef = mySelection

if( selBundleRef <> NULL)
{
	let ListOfStackings(list)
	selBundleRef->GetStackings( ListOfStackings )
	let idx1 = 1
	for idx1 while idx1 <= ListOfStackings.Size()
	{
		let fstStacking(FastenerStacking)
		set fstStacking = ListOfStackings[idx1]
		if( fstStacking <> NULL)
		{
			Notify("Stacking is resolved: ", fstStacking.IsResolved)

			let ListOfStackParts(list)
			fstStacking->GetStackParts(ListOfStackParts)
			let idxStackPart = 1
			for idxStackPart while idxStackPart <= ListOfStackParts.Size()
			{
				let stackPart(VPMInstance)
				set stackPart = ListOfStackParts[idxStackPart]
				if( stackPart <> NULL)
				{
					Notify("StackPart ",idxStackPart,  " : ", stackPart.Name)
				}
			}
			
			let ListOfPathOfStackParts(list)
			fstStacking->GetPathOfStackParts(ListOfPathOfStackParts)
			let idxPathOfStackParts = 1
			for idxPathOfStackParts while idxPathOfStackParts <= ListOfPathOfStackParts.Size()
			{
				let PoFI(list)
				set PoFI = ListOfPathOfStackParts[idxPathOfStackParts]
				idxStackPart = 1
				for idxStackPart while idxStackPart <= PoFI.Size()
				{
					let leafStackPart(VPMInstance)
					set leafStackPart = PoFI[PoFI.Size()]
					if( leafStackPart <> NULL)
					{
						Notify("Leaf StackPart ",idxStackPart,  " : ", leafStackPart.Name, " PoFI size ",PoFI.Size() )
					}
				}
			}
		}
	}
}

FastenerStacking.GetStackParts()

This method returns the list of fastened parts.

Signature

FastenerStacking.GetStackParts(oListOfStackParts : List) : Integer

Arguments

Name Input/Output Required? Type
oListOfStackParts Out List

ReturnType

Integer

SpotAssyFastenerOccurrence.GetAssociatedFastener()

This method returns:

  • The matching "Tail Only with Anchor Nut" fastener if "this" fastener is a "Screw Only" fastener.
  • The matching "Screw Only" fastener if "this" fastener is a "Tail Only with Anchor Nut" fastener.
  • Nothing if not matching fastener is found.

Signature

SpotAssyFastenerOccurrence.GetAssociatedFastener() : FastenerOccurrence

ReturnType

FastenerOccurrence

SpotAssyFastenerOccurrence.GetComponents()

If the input Boolean is "TRUE", this method returns the list of ProductOccurrence containing all the components of the SpotAssyFastenerOccurrence that are fastened by a secondary FastenerOccurrence.

If the input Boolean is "FALSE", this method returns the list of ProductOccurrence containing all the components of the SpotAssyFastenerOccurrence that are not fastened by any secondary FastenerOccurrence.

Signature

SpotAssyFastenerOccurrence.GetComponents(IsFastened : Boolean) : List

Arguments

Name Input/Output Required? Type
IsFastened In Boolean

ReturnType

List

SpotAssyFastenerOccurrence.GetComponentsFastenedTo()

This method returns the list of ProductOccurrence containing all the components of the SpotAssyFastenerOccurrence that are fastened by a secondary FastenerOccurrence to the input ProductOccurrence.

Signature

SpotAssyFastenerOccurrence.GetComponentsFastenedTo(Part :  : List

Arguments

Name Input/Output Required? Type
Part In See PRODUCT_Types (no NLS) Types

ReturnType

List

SpotAssyFastenerOccurrence.GetSecondaryStacking()

This method returns the list of stacking size; there are as many items in the list as there are secondary fasteners in the SpotAssyFastenerOccurrence. Each item in the list corresponds to the amount of fastened parts involved in each secondary fastener.

(output argument) The stacking direction, which is common to all secondary fasteners.

Signature

SpotAssyFastenerOccurrence.GetSecondaryStacking(StackingDirection : FastenerStackingDirection) : List

Arguments

Name Input/Output Required? Type
StackingDirection Out FastenerStackingDirection

ReturnType

List

SpotAssyFastenerOccurrence.IsATailOnlyWithSecondaryFastener()

This method returns TRUE if this fastener is a “Tail Only with Anchor Nut” fastener. It retuns FALSE elsewhere.

Signature

SpotAssyFastenerOccurrence.IsATailOnlyWithSecondaryFastener() : Boolean

ReturnType

Boolean