PdcMasterData.Nesting: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == PdcMasterData.Nesting(NestNo as String) == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability == 5.4"
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Declaration ==
== Methods ==
PdcMasterData.Nesting(NestNo as String)
[[pdcNesting.AddOperation]]<br>
[[pdcNesting.Read]]<br>
[[pdcNesting.Save]]<br>
[[pdcNesting.SetMultiMachine]]<br>
 
== Properties ==
[[pdcNesting.MultiMachine]]<br>
[[pdcNesting.NestingLineList]]<br>
[[pdcNesting.NestingNo]]<br>
[[pdcNesting.Registered]]<br>


== Description ==
== Description ==
 
Nesting Object


== Notes ==
== Notes ==
Line 9: Line 18:


== Code example ==
== Code example ==
This code example creates a new nest with 2 lines, for 2 calculations.
<source lang="vb">


    Dim Nesting As PDCEXT.INesting
    Dim NestLine As PDCEXT.INestLine


<source lang="vb">
    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
</source>
</source>


== Availability ==
== Availability ==
5.4
Since PdC 5.4

Latest revision as of 12:18, 25 July 2018

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