pycatia.cat_tps_interfaces.projected_tolerance_zone

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.cat_tps_interfaces.projected_tolerance_zone.ProjectedToleranceZone(com_object)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
ProjectedToleranceZone

Interface for accessing projected tolerance zone informations of a
TPS.
(note additional data removed by evereux due to it not making
sense and breaking doc formatting)
get_projected_tol_zone_reference(op_reference: tuple) tuple

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetProjectedTolZoneReference(CATSafeArrayVariant
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
Parameters:

op_reference (tuple) –

Return type:

tuple

property length: float

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property Length() As double (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.
Return type:

float

property position: float

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property Position() As double (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.
Return type:

float