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

Glossary Item Box

Description

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

Syntax

Visual Basic
Public Function GetMethodPointData( _
   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 gets the MethodStart property.
MethodEnd
Required PointData object that gets the MethodEnd property.
MethodInitTouch
Required PointData object that gets the MethodInitTouch property.
MethodEndTouch
Required PointData object that gets the MethodEndTouch property.
MethodInitDir
Required PointData object that gets the MethodInitDir property.
MethodInitTopSurf
MethodCutPlane
Required PointData object that gets 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.GetMethodParams MS,ME,MIT,MET,MID,MCP

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

Example

 

See Also

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