VDefToolXYZUVW Method

Description
VDefToolXYZUVW calculates tool UVW offset values using three tool definitions.
Note: The calculated U, V, W tool offset values are set in the specified ToolNumber1. The X, Y, Z offsets for ToolNumber1 are not changed.

Syntax
Sub VDefToolXYZUVW(ToolNumber1 As Integer, ToolNumber2 As Integer, ToolNumber3 As Integer, ToolDefType3D As SpelToolDefType3D )

Parameters

  • ToolNumber1
    An integer variable indicating the tool number for the 1st tool definition (1 to 15).
    When ToolDefType3D is Bar, specify the tool that defines the tip of the bar. When ToolDefType3D is Plane, specify the tool that defines the center of the plane.
  • ToolNumber2
    An integer variable indicating the tool number for the 1st tool definition (2 to 15).
    When ToolType is bar, specify the tool that defines the middle of the bar. When ToolType is plane, specify the tool that defines a position on the plane other than the center of the plane and other than the position defined by tool definition 3.
  • ToolNumber3
    An integer variable indicating the tool number for the 3rd tool definition (1 to 15).
    When ToolType is bar, specify the tool that defines the root of the bar. When ToolType is plane, specify the tool that defines a position other than the center of the plane and other than the position defined by tool definition 2.
  • ToolDefType3D
    An integer indicating the tool type in the tool definition. Bar: Bar type Plane: Plane type

See Also
VDefToolXYZ Method

VDefToolXYZUVW Example
VB Example:

m_spel.VDefToolXYZ(1, 0, 1, 2, "seq01", "seq02", 5, 30, 1, 5, 5)  
m_spel.VDefToolXYZ(2, 0, 3, 4, "seq03", "seq04", 5, 30, 1, 5, 5)  
m_spel.VDefToolXYZ(3, 0, 5, 6, "seq05", "seq06", 5, 30, 1, 5, 5)  
m_spel.VDefToolXYZUVW(1, 2, 3, SpelToolDefType3D.Bar)  

C# Example:

m_spel.VDefToolXYZ(1, 0, 1, 2, "seq01", "seq02", 5, 30, 1, 5, 5);  
m_spel.VDefToolXYZ(2, 0, 3, 4, "seq03", "seq04", 5, 30, 1, 5, 5);  
m_spel.VDefToolXYZ(3, 0, 5, 6, "seq05", "seq06", 5, 30, 1, 5, 5);  
m_spel.VDefToolXYZUVW(1, 2, 3, SpelToolDefType3D.Bar);