Fasten.GetConnectedProcesses()VPMReference.ComputeDistance()Returns the distance between two points. Arguments
ReturnTypeLENGTH Return values: the distance between the Start and End point. Valid input values for First point/Second point:
Examplelet 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. Arguments
ReturnTypeList Examplelet PhysicalProduct(VPMReference) let FeatName(String) let ListOfFeatures (List) ListOfFeatures=PhysicalProduct->GetMfgFeatures (FeatName) VPMReference.GetMfgRepresentation()VPMReference.GetProfileCuttingLength()VPMReference.GetProfileType()VPMReference.GetStructureDesignObject() | ||||||||||||||||||||||||||||||||