PC-DMIS 2021.1 Object Library
PressDone Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL > Machine Object : PressDone Method

Glossary Item Box

Description

 

This acts as if you had pressed the DONE button on the jog box.

Syntax

Visual Basic
Public Sub PressDone() 

Example

Private Sub Command5PressDone()
' This subroutine presses the DONE button
  Dim App As PCDLRN.Application
  Set App = CreateObject("PCDLRN.Application")
  Dim Part As PCDLRN.PartProgram
  Set Part = App.ActivePartProgram
  Dim Machine As PCDLRN.Machine
  Set Machine = Part.ActiveMachine
  Machine.PressDone
End Sub

See Also

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