PdcTool.No

From External Bemet Wiki
Jump to: navigation, search

Contents

Declaration

No as String

Description

Returns the number

Notes

This property returns the toolnumber for the selected tool. (readonly)

Code example

This code example returns the toolnumber for the first tool that is added to the first operation.

dim objCalc
dim objOperation
dim objTools
 
  set objCalc = pdc.ActiveCalculation
  set objOperation = objCalc.OperationList(0)
  set objTools = objOperation.Tools
  msgbox "tool number: " & objTools(0).No
 
  'the short version: msgbox objCalc.OperationList(0).Tools.Items(0).No

Availability

Available since March 2008.

Personal tools
Namespaces
Variants
Actions
PdC Scripting Helpfile
Toolbox