PC-DMIS 2022.1 Object Library
ExecuteMiniRoutineByUIDArray Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
UIDArray
This array contains a list of mini routine UIDs to execute. You can get UIDs from the .xml file that PC-DMIS creates when you create mini routines.
AlignmentDependencies
This determines if the mini routine also executes features required to create the alignment.
PCDLRN ActiveX DLL > PartProgram Object : ExecuteMiniRoutineByUIDArray Method

Glossary Item Box

Description

This method executes multiple mini routines contained within an array of strings. Each item in the array is a UID (unique ID).

Syntax

Visual Basic
Public Function ExecuteMiniRoutineByUIDArray( _
   ByVal UIDArray As StringArray, _
   ByVal AlignmentDependencies As Boolean _
) As Boolean

Parameters

UIDArray
This array contains a list of mini routine UIDs to execute. You can get UIDs from the .xml file that PC-DMIS creates when you create mini routines.
AlignmentDependencies
This determines if the mini routine also executes features required to create the alignment.

Return Type

Returns True if the method succeeds and False otherwise.

Example

See ExecuteMiniRoutineByNameArray for an example to see how to create string arrays of mini routine names and of UIDs (unique IDs) and how to execute them.

See Also

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