PdcNesting.AddOperation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 23: | Line 23: | ||
Try | Try | ||
System.Runtime.InteropServices.Marshal.FinalReleaseComObject(Nest) | System.Runtime.InteropServices.Marshal.FinalReleaseComObject(Nest) | ||
Nest= Nothing | Nest = Nothing | ||
Catch ex As Exception | Catch ex As Exception | ||
Nest = Nothing | Nest = Nothing |
Revision as of 08:10, 24 July 2018
Declaration
AddOperation(CalculationNo as String, LineNo as Integer, Operation as String, Quantity as Double, MultiMachine as Boolean, PartNo as Integer) as Boolean
Description
Adds an operation to the nesting object
Notes
Parameters
Quantity :
MultiMachine :
PartNo :
Code example
Dim Nest As PDCEXT.INesting
Nest = PDC.App.MasterData.Nesting
Nest.Read("00000001")
Nest.AddOperation("00646",30,"LASER1",1,False,"PL0100St37")
Try
System.Runtime.InteropServices.Marshal.FinalReleaseComObject(Nest)
Nest = Nothing
Catch ex As Exception
Nest = Nothing
Finally
GC.Collect()
End Try
Availability
Available since PdC 5.4