PC-DMIS 2022.1 Object Library
SetMethodPointData Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
MethodStart
Required PointData object that sets the MethodStart property.
MethodEnd
Required PointData object that sets the MethodEnd property.
MethodInitTouch
Required PointData object that sets the MethodInitTouch property.
MethodEndTouch
Required PointData object that sets the MethodEndTouch property.
MethodInitDir
Required PointData object that sets the MethodInitDir property.
MethodInitTopSurf
MethodCutPlane
Required PointData object that sets the MethodCutPlane property.
PCDLRN ActiveX DLL > BasicScan Object : SetMethodPointData Method

Glossary Item Box

Description

This method is provided as a shortcut to set these commonly used scan parameters all at once.

Syntax

Visual Basic
Public Function SetMethodPointData( _
   ByVal MethodStart As PointData, _
   ByVal MethodEnd As PointData, _
   ByVal MethodInitTouch As PointData, _
   ByVal MethodEndTouch As PointData, _
   ByVal MethodInitDir As PointData, _
   ByVal MethodInitTopSurf As PointData, _
   ByVal MethodCutPlane As PointData _
) As Boolean

Parameters

MethodStart
Required PointData object that sets the MethodStart property.
MethodEnd
Required PointData object that sets the MethodEnd property.
MethodInitTouch
Required PointData object that sets the MethodInitTouch property.
MethodEndTouch
Required PointData object that sets the MethodEndTouch property.
MethodInitDir
Required PointData object that sets the MethodInitDir property.
MethodInitTopSurf
MethodCutPlane
Required PointData object that sets the MethodCutPlane property.

Return Type

Boolean value. Boolean returns true if the function succeeds, false if it fails.

Remarks

If scan is a BasicScanCommand object, and MS, ME, MIT, MET, MID,and MCP are all Dimensioned as Object, the following are equivalent:

scan.SetMethodParams MS,ME,MIT,MET,MID,MCP

set scan.MethodStart = MS
set scan.MethodEnd = ME
set scan.MethodInitTouch = MIT
set scan.MethodEndTouch = MET
set scan.MethodInitDir = MID
set scan.MethodCutPlane = MCP

See Also

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