PdcMasterData.Nesting

From External Bemet Wiki
Jump to: navigation, search

Contents

Methods

pdcNesting.AddOperation
pdcNesting.Read
pdcNesting.Save
pdcNesting.SetMultiMachine

Properties

pdcNesting.MultiMachine
pdcNesting.NestingLineList
pdcNesting.NestingNo
pdcNesting.Registered

Description

Nesting Object

Notes

Code example

This code example creates a new nest with 2 lines, for 2 calculations.

    Dim Nesting As PDCEXT.INesting
    Dim NestLine As PDCEXT.INestLine
 
    Nesting = pdc.App.MasterData.Nesting
 
    Nesting.AddOperation("00664", "10", "LASER1", 100, false, "0")
    Nesting.AddOperation("00665", "10", "LASER1", 200, false, "0")
 
    Nesting.Save
 
    Try
      System.Runtime.InteropServices.Marshal.FinalReleaseComObject(Nest)
      Nest = Nothing
    Catch ex As Exception
      Nest = Nothing
    Finally
      GC.Collect()
    End Try

Availability

Since PdC 5.4

Personal tools
Namespaces
Variants
Actions
PdC Scripting Helpfile
Toolbox