PC-Dmis 2010 Object Library | Send comments on this topic. | See Object Hierarchy Chart
SetMethodPointData Method
See Also

Collapse All Expand All

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.

# Description

Sets scan points and vectors via pointdata objects 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

BasicScan Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.