Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 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 possible enumerated values for all, measured, theoretical, or targets.
 Enumerated value that indentifies the type of coordinate system to use (Cad, Machine, Part, PartMM3, or Polar).
String value representing the ID of the alignment to use.
Optional parameter with the ENUM_PLANE_TYPE enumeration that denotes the workplane.
X value for the point / vector being set.
Y value for the point / vector being set.
Z value for the point / vector being set.
SetHit2 Method
Description

This method works just like the SetHit method; it sets the hit data of a specified hit, but it uses a specified coordinate system and alignment.

Syntax
Visual Basic
Public Function SetHit2( _
   ByVal index As Long, _
   ByVal DataType As FHITDATA_TYPES, _
   ByVal MeasOrTheo As FDATA_DATASET, _
   ByVal CoordSystem As FDATA_COORDSYS, _
   ByVal Alignment As String, _
   ByVal Workplane As ENUM_PLANE_TYPE, _
   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. The possible enumerated values for all, measured, theoretical, or targets.
CoordSystem
ValueDescription
FDATA_CAD 
FDATA_MACHINE 
FDATA_PART 
FDATA_PARTMM3 
FDATA_POLAR 
 Enumerated value that indentifies the type of coordinate system to use (Cad, Machine, Part, PartMM3, or Polar).
Alignment
String value representing the ID of the alignment to use.
Workplane
ValueDescription
PLANE_BACK 
PLANE_BOTTOM 
PLANE_FRONT 
PLANE_LEFT 
PLANE_RIGHT 
PLANE_TOP 
Optional parameter with the ENUM_PLANE_TYPE enumeration that denotes the workplane.
X
X value for the point / vector being set.
Y
Y value for the point / vector being set.
Z
Z value for the point / vector being set.
See Also