DELStrMfgPackage (no NLS) Methods

This section describes the methods 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:

DELStrMfgAttachmentLine.GetPathOfAllParents()

Gives the path of all parents of the attachment line.

Signature

DELStrMfgAttachmentLine.GetPathOfAllParents(oPath : String)

Arguments

Name Input/Output Required? Type Comment
oPath Out String Path of all parents of the attachment line.

Example

let myAttachmentLine(DELStrMfgAttachmentLine)
let oPath(String)

myAttachmentLine->GetPathOfAllParents(oPath)

DELStrMfgAttachmentLine.GetPathOfParents()

Gives the path of a parent of an attachment line.

Signature

DELStrMfgAttachmentLine.GetPathOfParents(oPath : String, iTop : Integer, iFrom : Integer)

Arguments

Name Input/Output Required? Type Comment
oPath Out String Path of the parents of the attachment line.
iTop In Integer Top level of the path hierarchy.
iFrom In Integer Lower level of the path hierarchy.

Example

let myAttachmentLine(DELStrMfgAttachmentLine)
let oPath(String)
let iTop (Integer)
let iFrom(Integer)

myAttachmentLine->GetPathOfParents(oPath, iTop, iFrom)

DELStrMfgEndCut.GetDesignEndCut()

Gives the design end cut of the profile.

Signature

DELStrMfgEndCut.GetDesignEndCut() : Feature

ReturnType

Feature

Example

let myEndCut(DELStrMfgEndCut)
let MyEndcutFeat(Feature)

MyEndcutFeat = myEndCut->GetDesignEndCut ()

DELStrMfgEndCut.GetParameters()

Specifies the parameters for an end cut.

Signature

DELStrMfgEndCut.GetParameters(ParamNames : List, ParamValues : List)

Arguments

Name Input/Output Required? Type Comment
ParamNames Out List Names of end cut parameters.
ParamValues Out List Values of the parameters of an end cut.

Example

let myEndcut(DELStrMfgEndCut)
let ParamNames(List)
let ParamValues (List)

myEndcut ->GetParameters(ParamNames,ParamValues)

DELStrMfgMarkingLine.GetMarkedObject()

Returns the object marked by the marking line.

Signature

DELStrMfgMarkingLine.GetMarkedObject() : Physical Product

ReturnType

VPMReference

Example

let myMarkingLine(DELStrMfgMarkingLine)
let MyMarkedObject(VPMReference)

MyMarkedObject = myMarkingLine->GetMarkedObject ()

DELStrMfgMarkingLine.GetMarkingObject()

Returns the marking object of the marking line.

Signature

DELStrMfgMarkingLine.GetMarkingObject() : Physical Product

ReturnType

VPMReference

Example

let myMarkingLine(DELStrMfgMarkingLine)
let MyMarkingObject(VPMReference)

MyMarkingObject = myMarkingLine->GetMarkingObject()

DELStrMfgOpeningPreparation.GetDesignCutout()

Provides the design cutout for an opening preparation.

Signature

DELStrMfgOpeningPreparation.GetDesignCutout() : Feature

ReturnType

Feature

Example

let myOpening(DELStrMfgOpeningPreparation)
let myOpeningFeat(Feature)

myOpeningFeat = myOpening->GetDesignCutout()

DELStrMfgOpeningPreparation.GetOpeningParameters()

Provides the parameters of an opening.

Signature

DELStrMfgOpeningPreparation.GetOpeningParameters(ParamNames : List, ParamValues : List)

Arguments

Name Input/Output Required? Type Comment
ParamNames Out List Names of the opening preparation parameters.
ParamValues Out List Values of the opening preparation parameters.

Example

let myOpening(DELStrMfgOpeningPreparation)
let ParamNames(List)
let ParamValues (List)

myOpening->GetOpeningParameters(ParamNames,ParamValues)

DELStrMfgWeldLine.GetConnectedElements()

Provides the connected design elements of a weld line.

Signature

DELStrMfgWeldLine.GetConnectedElements() : List

ReturnType

List

Example

let myWeldLine(DELStrMfgWeldLine)
let myConnectedElems(List)

myConnectedElems = myWeldLine ->GetConnectedElements()

GetPlateCurvatureType()

Returns the curvature type of the curved plate.

Signature

 MfgProcessOccurrence->GetPlateCurvatureType (PlateCurvatureType: Integer): Void type.

Arguments

Name Input/Output Required? Type Comment
PlateCurvatureType Out Integer Output values for Plate Curvature Type:
  • 1: Single curvature type
  • 2: Double curvature type

ReturnType

Void

Example

let mfgProcItem (MfgProcessOccurrence)
set mfgProcItem = Parameters.GetAttributeObject("ManufacturedItem")

if (mfgProcItem <> NULL)
{
	let rollLineCreationSide (Integer)
	let PlateCurvatureType (Integer)

	set mfgProcItem = Parameters.GetAttributeObject("ManufacturedItem")
	if mfgProcItem <> NULL
	{
		set PlateCurvatureType = 1          //Single Curvature Plate
		set rollLineCreationSide = 1        //Roll line on one Side

		mfgProcItem.GetPlateCurvatureType(PlateCurvatureType)

		if (PlateCurvatureType == 2)          //Double Curvature Plate
		{
			rollLineCreationSide = 2         //Roll line on Both Side
		}
	}
	Parameters.SetAttributeInteger("RollLineCreationSide", rollLineCreationSide)
}