PdcTool.No: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == No as String == Description == Returns the number == Notes == This property returns the toolnumber for the selected tool. (readonly) == Code example == T..." |
No edit summary |
||
Line 3: | Line 3: | ||
== Description == | == Description == | ||
Returns the number | Returns the number. | ||
== Notes == | == Notes == |
Latest revision as of 10:33, 24 August 2021
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.