PC-DMIS 2021.1 Object Library
SetParams Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
Method
Required Long that sets the Method property.
Filter
Required Long that sets the Filter property.
OperationMode
Required Long that sets the OperationMode property.
HitType
Required Long that sets the HitType property.
NominalMode
Required Long that sets the NominalMode property.
BoundaryCondition
Required Long that sets the BoundaryCondition property.
PCDLRN ActiveX DLL > Scan Object : SetParams Method

Glossary Item Box

Description

This method is provided as a shortcut to setting these commonly used properties all at once.

Syntax

Visual Basic
Public Function SetParams( _
   ByVal Method As Long, _
   ByVal Filter As Long, _
   ByVal OperationMode As Long, _
   ByVal HitType As Long, _
   ByVal NominalMode As Long, _
   ByVal BoundaryCondition As Long _
) As Boolean

Parameters

Method
Required Long that sets the Method property.
Filter
Required Long that sets the Filter property.
OperationMode
Required Long that sets the OperationMode property.
HitType
Required Long that sets the HitType property.
NominalMode
Required Long that sets the NominalMode property.
BoundaryCondition
Required Long that sets the BoundaryCondition property.

Return Type

Boolean value.

Remarks

If scan is a ScanCommand object, and M, F, O, H, N,and B are all dimensioned as Object, the following are equivalent:

scan.SetParams M, F, O, H, N, B

scan.Method = M
scan.Filter = F
scan.OperationMode = O
scan.HitType = H
scan.NominalMode = N
scan.BoundaryCondition = B

See Also

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