Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.2 Object Library
PCDLRN ActiveX DLL > BasicScan Object : SetMethodPointData Method
Required PointData object that sets the MethodStart property.
Required PointData object that sets the MethodEnd property.
Required PointData object that sets the MethodInitTouch property.
Required PointData object that sets the MethodEndTouch property.
Required PointData object that sets the MethodInitDir property.
Required PointData object that sets the MethodCutPlane property.
SetMethodPointData Method
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