The Remove function saves, closes, and deactivates the indicated measurement routine. That measurement routine is no longer active in PC-DMIS.
Visual Basic |
---|
Public Function Remove( _ ByVal NameorNum As Variant _ ) As Boolean |
- 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.
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.