PC-DMIS 2022.1 Object Library
WriteRegistryPoint Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
lpszSection
String value that specifies the section in which the settings entry that you want to modify resides.
lpszEntry
String value that specifies the settings entry to which you want to write the value.
dX
double value representing the X value to write to the setttings entry.
dY
double value representing the Y value to write to the settings entry.
dZ
double value representing the Z value to write to the settings entry.
bSetVariable
Boolean value that determines whether or not an associated global variable in PC-DMIS gets changed to the value of the third parameter. This parameter only works for settingsentries pertaining to feature ID prefixes.
PCDLRN ActiveX DLL > Application Object : WriteRegistryPoint Method

Glossary Item Box

Description

Sets a PC-DMIS settings entry to a specified XYZ value. Write double.

Syntax

Visual Basic
Public Function WriteRegistryPoint( _
   ByVal lpszSection As String, _
   ByVal lpszEntry As String, _
   ByVal dX As Double, _
   ByVal dY As Double, _
   ByVal dZ As Double, _
   ByVal bSetVariable As Boolean _
) As Boolean

Parameters

lpszSection
String value that specifies the section in which the settings entry that you want to modify resides.
lpszEntry
String value that specifies the settings entry to which you want to write the value.
dX
double value representing the X value to write to the setttings entry.
dY
double value representing the Y value to write to the settings entry.
dZ
double value representing the Z value to write to the settings entry.
bSetVariable
Boolean value that determines whether or not an associated global variable in PC-DMIS gets changed to the value of the third parameter. This parameter only works for settingsentries pertaining to feature ID prefixes.

Return Type

Boolean value that determines whether or not the value of the third parameter was successfully written to the settings entry.

See Also

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