Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
Integer representing the hit number.
Enumerated data type that specifies what type of data you are setting. This can be Centroid, Vector, or BallCenter.
Enumerated value that indentifies the portion of the hit getting set.
The X value for the point / vector being set.
The Y value for the point / vector being set.
The Z value for the point / vector being set.
SetHit Method
Description
Sets the hit data of a specified hit. It uses the part coordinate system relative to the current alignment.
Syntax
Visual Basic
Public Function SetHit( _
   ByVal index As Long, _
   ByVal DataType As FHITDATA_TYPES, _
   ByVal MeasOrTheo As FDATA_DATASET, _
   ByVal X As Double, _
   ByVal Y As Double, _
   ByVal Z As Double _
) As Boolean
Parameters
index
Integer representing the hit number.
DataType
ValueDescription
FHITDATA_BALLCENTER 
FHITDATA_CENTROID 
FHITDATA_VECTOR 
Enumerated data type that specifies what type of data you are setting. This can be Centroid, Vector, or BallCenter.
MeasOrTheo
ValueDescription
FDATA_ALL 
FDATA_MEAS 
FDATA_TARG 
FDATA_THEO 
Enumerated value that indentifies the portion of the hit getting set.
X
The X value for the point / vector being set.
Y
The Y value for the point / vector being set.
Z
The Z value for the point / vector being set.
Return Type
Boolean value. This function returns TRUE if the hit or vector gets successfully set, FALSE otherwise.
See Also