PC-DMIS 2021.1 Object Library
Item Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
ID
Required Variant that indicates which Tool object to return. It can be either a Long or a String. If it is a Long, it is the index number of the Tool object in the Tools collection. If it is a String, it is the ID of the Tool object.
PCDLRN ActiveX DLL > Tools Object : Item Method

Glossary Item Box

Description

Returns the tool object with the specified ID

Syntax

Visual Basic
Public Function Item( _
   ByVal ID As Variant _
) As tool

Parameters

ID
Required Variant that indicates which Tool object to return. It can be either a Long or a String. If it is a Long, it is the index number of the Tool object in the Tools collection. If it is a String, it is the ID of the Tool object.

Return Type

Tool object.

Remarks

Since the Item method is the default, the function name can be omitted if desired.

See Also

Copyright © 2020. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.