PC-DMIS 2021.1 Object Library
SetScanParams Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
incr
Increment value for LINE, BODY, and CUTAXIS scan techniques. Optional.
AXIS
Axis for BODY and CUTAXIS scan techniques. PCD_XAXIS, PCD_YAXIS, PCD_ZAXIS. Optional.
max_incr
For VARIABLE scan techniques. Optional.
min_incr
For VARIABLE scan techniques. Optional.
MAX_ANGLE
For VARIABLE scan techniques. Optional.
MIN_ANGLE
For VARIABLE scan techniques. Optional.
delta
Distance delta for FIXED_DELTA scans, time delta for VARIABLE_DELTA and TIME_DELTA scans. Optional.
DISTANCE
Drop point distance for VARIABLE_DELTA scan, distance for CUTAXIS scan. Optional.
incr2
Increment value in second direction for a patch scan. Optional.
axis2
Second axis value for a patch scan (BODY scan technique only). Optional.
surf_thickness
Surface thickness used to offset centroid calculation if necessary. Optional.
PCDLRN ActiveX DLL > OldBasic Object : SetScanParams Method

Glossary Item Box

Description

Sets scan parameters (used in StartScan block)

Syntax

Visual Basic
Public Sub SetScanParams( _
   ByVal incr As Double, _
   ByVal AXIS As PAXISTYPE, _
   ByVal max_incr As Double, _
   ByVal min_incr As Double, _
   ByVal MAX_ANGLE As Double, _
   ByVal MIN_ANGLE As Double, _
   ByVal delta As Double, _
   ByVal DISTANCE As Double, _
   ByVal incr2 As Double, _
   ByVal axis2 As PAXISTYPE, _
   ByVal surf_thickness As Double _
) 

Parameters

incr
Increment value for LINE, BODY, and CUTAXIS scan techniques. Optional.
AXIS
ValueDescription
PCD_XAXISMirrors the virtual machine's X axis.
PCD_YAXISMirrors the virtual machine's Y axis.
PCD_ZAXISMirrors the virtual machine's Z axis.
Axis for BODY and CUTAXIS scan techniques. PCD_XAXIS, PCD_YAXIS, PCD_ZAXIS. Optional.
max_incr
For VARIABLE scan techniques. Optional.
min_incr
For VARIABLE scan techniques. Optional.
MAX_ANGLE
For VARIABLE scan techniques. Optional.
MIN_ANGLE
For VARIABLE scan techniques. Optional.
delta
Distance delta for FIXED_DELTA scans, time delta for VARIABLE_DELTA and TIME_DELTA scans. Optional.
DISTANCE
Drop point distance for VARIABLE_DELTA scan, distance for CUTAXIS scan. Optional.
incr2
Increment value in second direction for a patch scan. Optional.
axis2
ValueDescription
PCD_XAXISMirrors the virtual machine's X axis.
PCD_YAXISMirrors the virtual machine's Y axis.
PCD_ZAXISMirrors the virtual machine's Z axis.
Second axis value for a patch scan (BODY scan technique only). Optional.
surf_thickness
Surface thickness used to offset centroid calculation if necessary. Optional.

See Also

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