PC-DMIS 2019 R2 Object Library
Remove 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 : Remove Method

Glossary Item Box

Description

The Remove function saves, closes, and deactivates the indicated measurement routine. That measurement routine is no longer active in PC-DMIS.

Syntax

Visual Basic
Public Function Remove( _
   ByVal NameorNum As Variant _
) As Boolean

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

Boolean value. Boolean returns true if the function succeeds, false if it fails. If the function was able to close a measurement routine, it returns TRUE, otherwise FALSE.

See Also

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