DELStrMfgFunctionPackage (no NLS) Functions

This section describes the functions of the DELStrMfgFunctionPackage.

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

This page discusses:

Fasten.GetConnectedProcesses()

Gives the connected processes of a fastener.

Signature

Fasten.GetConnectedProcesses() : List

ReturnType

List

Example

let myFasten(Fasten)
let myprocsList(List)
myprocsList = myFasten->GetConnectedProcesses()

VPMReference.ComputeDistance()

Returns the distance between two points.

Signature

VPMReference.ComputeDistance(FirstPoint : Integer, SecondPoint : Integer) : LENGTH

Arguments

Name Input/Output Required? Type Comment
FirstPoint In Integer First Point for the distance computation.
SecondPoint In Integer Second Point for the distance computation.

ReturnType

LENGTH

Return values: the distance between the Start and End point.

Valid input values for First point/Second point:

  • StartZeroPoint =1
  • EndZeroPoint = 2
  • StartExtremityPoint =3
  • EndExtremityPoint = 4

Example

let profileProcess(ElementaryEndItem)
let profileIPM(VPMReference) 

set profileProcess = Parameters.GetAttributeObject("ProcessItem")

let StartPoint(integer)
let EndPoint(integer)

//valid input values for Start/End points
//StartZeroPoint=1
//EndZeroPoint=2
//StartExtremityPoint=3
//EndExtremityPoint=4

set StartPoint = 1
set EndPoint = 3

set profileIPM = profileProcess.GetProcessOutput() 
if(NULL <> profileIPM)
{	
	let ManualCuttingLength(length)
	ManualCuttingLength = profileIPM->ComputeDistance (StartPoint,EndPoint)
	Message ("Manual Cutting Length: ",ManualCuttingLength)
}

VPMReference.GetMfgFeatures()

Gives the manufacturing features under the Resulting Product.

Signature

VPMReference.GetMfgFeatures(FeatName: String): List

Arguments

Name Input/Output Required? Type Comment
FeatName Input String Manufacturing features of a resulting product.

ReturnType

List

Example

let PhysicalProduct(VPMReference)
let FeatName(String)
let ListOfFeatures (List)

ListOfFeatures=PhysicalProduct->GetMfgFeatures (FeatName)

VPMReference.GetMfgRepresentation()

Gives the manufacturing representation under the Resulting Product.

Signature

VPMReference.GetMfgRepresentation(): Feature

ReturnType

Feature

Example

let PhysicalProduct(VPMReference)
let myFeat(Feature)

myFeat = PhysicalProduct->GetMfgRepresentation()

VPMReference.GetProfileCuttingLength()

Gives the cutting length of a profile.

Signature

VPMReference.GetProfileCuttingLength() : LENGTH

ReturnType

LENGTH

Example

let PhysicalProduct(VPMReference)
let MyProfileCuttingLength(LENGTH)

MyProfileCuttingLength = PhysicalProduct->GetProfileCuttingLength ()

VPMReference.GetProfileType()

Indicates the type of a profile.

Signature

VPMReference.GetProfileType() : String

ReturnType

String

Example

let PhysicalProduct(VPMReference)
let MyProfileType(String)

MyProfileType = PhysicalProduct->GetProfileType ()

VPMReference.GetStructureDesignObject()

Gives the design object structure for a physical product.

Signature

VPMReference.GetStructureDesignObject() : VPMReference

ReturnType

VPMReference

Example

let PhysicalProduct(VPMReference)
let myDesignObject (VPMReference)

myDesignObject = PhysicalProduct->GetStructureDesignObject()