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

Glossary Item Box

Description

Returns a specific PartProgram object from the collection in the PartPrograms object.

Syntax

Visual Basic
Public Function Item( _
   ByVal NameorNum As Variant _
) As PartProgram

Parameters

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

Return Type

PartProgram object.

Remarks

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

See Also

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