PC-DMIS 2021.1 Object Library
OpenRoutineStatus Enumeration
See Also  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL : OpenRoutineStatus Enumeration

Glossary Item Box

Description

This enumerated list can convey the status when a method attempts to open a measurement routine. This is primarily used with the Open_Ex method in the PartPrograms object.

Members

MemberValueDescription
BranchMismatchError8PC-DMIS cannot open the routine due to a branch mismatch error. This has a value of 8.
CannotOpenRoutineFile4PC-DMIS cannot open the routine. This status has a value of 4.
DeserializationError7PC-DMIS cannot open the routine because of a deserialization error. This has a value of 7.
ErrorClosingRoutineFile5PC-DMIS cannot open the routine because it cannot close the routine after it reads it. This has a value of 5.
InternalError3PC-DMIS cannot open the routine because of an internal error. This has a value of 3.
OpenedBackupCopy2PC-DMIS opened a backup copy of the routine instead of the main routine. This has a value of 2.
PcdmisIsOpeningAnotherRoutine10PC-DMIS cannot open the routine because it is in the process of opening another routine. This has a value of 10.
RoutineFileDoesNotExist6PC-DMIS cannot open the routine because the routine file does not exist. This has a value of 6.
RoutineIsNewerError9PC-DMIS cannot open the routine because the routine is newer than the version of PC-DMIS. This has a value of 9.
RoutineOpened1PC-DMIS opened the routine without any errors. This has a value of 1.
UnknownStatus0PC-DMIS cannot open the routine due to an unknown cause. This has a value of 0.
Copyright © 2020. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.