ProjectedToleranceZone (Object)

Interface for accessing projected tolerance zone informations of a TPS.
========| Position Length / |<----------->|<----------->| Toleranced | | | Surface - - - +-------> +=============+ \ |\ \ \ \ | Origin Direction Projected Tolerance Zone ========|

Properties


Property Length() As (Read Only)
Retrieves length of the projected tolerance zone (in millimeters). The length defines the ending point of the tolerance zone. This point can be computed by using Origin and Direction of the axis.
Property Position() As (Read Only)
Retrieves position of the projected tolerance zone (in millimeters). The position defines the starting point of the tolerance zone. This point can be computed by using Origin and Direction of the axis.

Methods


Sub GetProjectedTolZoneReference( opReference)
Retrieves reference axis of the projected tolerance zone. The returned point and vector define a axis system that is used to defined the 3D position of the tolerance zone.
Parameters:
opReference
The first 3 values of opReference correspond to the X,Y and Z values of the origin point respectively and the next 3 values correspond to the X,Y and Z values of the direction respectively.
Example:
 This example gets the Projected Tolerance Zone reference in a VB Script
 Dim oTab(6) As CATSafeArrayVariant
 Set projTol = annotation.ProjectedToleranceZone
  projTol.GetProjectedTolZoneReference(oTab)
  oStream.Write "Projected Tol Zone Reference Point : " & oTab(0) & " " & oTab(1) & " " & oTab(2) & sLF
  oStream.Write "Projected Tol Zone Reference Vector : " & oTab(3) & " " & oTab(4) & " " & oTab(5) & sLF