Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
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.
Remove Method
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