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

Collapse All Expand All

Vector
  Required Pointdata parameter specifying the vector that the primary axis should be rotated to.

Workplane
  Optional parameter with the ENUM_PLANE_TYPE enumeration used to define which axis to rotate about.

# Description

Rotates the primary axis to the supplied vector relative to the supplied workplane

Rotates the primary axis (as determined by the workplane parameter) to the specified vector.

# Syntax

Visual Basic

    Public Sub RotateToVector( _
       ByVal Vector As PointData, _
       ByVal Workplane As ENUM_PLANE_TYPE _
    )

# Parameters

Vector
  Required Pointdata parameter specifying the vector that the primary axis should be rotated to.
Workplane

  Value | Description
  --- | ---
  PLANE_TOP |
  PLANE_RIGHT |
  PLANE_BACK |
  PLANE_BOTTOM |
  PLANE_LEFT |
  PLANE_FRONT |

  Optional parameter with the ENUM_PLANE_TYPE enumeration used to define which axis to rotate about.

# See Also

DmisMatrix Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.