PdcToolList.Delete

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

Delete(Index as long)

Description

Removes a tool object

Notes

This property deletes the tool located at the supplied index for the selected operation.

Code example

This code example deletes the first tool attached to the first operation.

dim objCalc
dim objOperation
dim objTools

  set objCalc = pdc.ActiveCalculation
  set objOperation = objCalc.OperationList(0)
  set objTools = objOperation.Tools
  objTools.Delete(0)

  'the short version: objCalc.OperationList(0).Tools.Delete(0)

Availability

Available since March 2008.