Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.2 Object Library
PCDLRN ActiveX DLL > PartProgram Object : DoAutoInsertMoves Method
DoAutoInsertMoves Method
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
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