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

Collapse All Expand All

X
  Double X value for the hit.

Y
  Double Y value for the hit.

Z
  Double Z value for the hit.

I
  Double I value for the approach vector.

J
  Double J value for the approach vector.

K
  Double K value for the approach vector.

# Description

Used in feature block to add a hit to an object

# Syntax

Visual Basic

    Public Sub Hit( _
       ByVal X As Double, _
       ByVal Y As Double, _
       ByVal Z As Double, _
       ByVal I As Double, _
       ByVal J As Double, _
       ByVal K As Double _
    )

# Parameters

X
  Double X value for the hit.
Y
  Double Y value for the hit.
Z
  Double Z value for the hit.
I
  Double I value for the approach vector.
J
  Double J value for the approach vector.
K
  Double K value for the approach vector.

# Remarks

This function is used for measured features only. It may be omitted on measured circles, cones, cylinders, spheres and points as these features generate default hits. However, if circular moves are required between each hit, the hit function should be provided as a place holder. The parameters may be eliminated, in which case the default hit x, y, z and i, j, k are used.

# See Also

OldBasic Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.