PC-DMIS 2021.1 Object Library
DoAutoInsertMoves Method
See Also  Example  Send Topic Feedback | See Object Hierarchy Chart
StartCommand
endCommand
PCDLRN ActiveX DLL > PartProgram Object : DoAutoInsertMoves Method

Glossary Item Box

Description

This method can take two parameters, a start command and an end command. These define a range of commands. The method then adds MOVE/POINT commands between each feature command within this range. If you don't specify a start or end command then the range includes all the features in the measurement routine.

Syntax

Visual Basic
Public Function DoAutoInsertMoves( _
   ByVal StartCommand As Command, _
   ByVal endCommand As Command _
) As Boolean

Parameters

StartCommand
endCommand

Return Type

This returns True if the moves were added. This returns False if they weren't.

Example

Example (VBScript)Copy Code
Dim DmisApp As Object
Dim DmisPart As Object

Sub Main
  Set DmisApp = CreateObject("PCDLRN.Application")
  Set DmisPart = DmisApp.ActivePartProgram

  DmisPart.DoAutoInsertMoves Nothing, Nothing
  
Set DmisPart = Nothing
Set DmisApp = Nothing
  
End Sub

See Also

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