Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.2 Object Library
Save Method
Description

This subroutine saves the measurement routine. If the measurement routine has not been saved before, it opens a Save As Dialog box which requires that you name the file.

Syntax
Visual Basic
Public Function Save() As Boolean
Return Type
Boolean value. Boolean returns true if the function succeeds, false if it fails. TRUE if the part was saved successfully, FALSE otherwise.
Example

Sub Main (strText As String)

Dim App As Object

Set App = CreateObject ("PCDLRN.Application")

Dim Part As Object

Set Part = App.ActivePartProgram

Part.Save

End Sub

See Also