pycatia.manufacturing_interfaces.manufacturing_machining_axis

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.manufacturing_interfaces.manufacturing_machining_axis.ManufacturingMachiningAxis(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
ManufacturingInterfaces.ManufacturingFeature
ManufacturingMachiningAxis

ManufacturingMachiningAxis defines a set of methods to manage a Machining Axis
System or an Origin.
get_origin_point() tuple

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetOriginPoint(double x,
double y,
double z)

Gets the Origin of a Manufacturing Machining Axis System used as
Origin.

Example:
The following example gets MfgAxisSystem with PointOrigin as an Origin
Point and with ProductOrigin a belonging product.

Dim MfgAxisSystem As ManufacturingMachiningAxis
Set MfgAxisSystem = …
Dim PointOrigin As CATSafeArrayVariant
Dim ProductOrigin As Product
MfgAxisSystem.GetOriginPoint (PointOrigin)
Return type:

tuple

get_origin_x_direction() tuple

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetOriginXDirection(double x,
double y,
double z)

Gets the Origin X direction of a Manufacturing Machining Axis System used
as Origin.

Example:
The following example gets MfgAxisSystem with origin X direction in
DblMathDirection.

Dim DlbMathDirection As Double(3)
Dim MfgAxisSystem As ManufacturingMachiningAxis
Set MfgAxisSystem = …
MfgAxisSystem.GetOriginXDirection (DblMathDirection)
Return type:

tuple

get_origin_y_direction() tuple

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetOriginYDirection(double x,
double y,
double z)

Gets the Origin Y direction of a Manufacturing Machining Axis System used
as Origin.

Example:
The following example gets MfgAxisSystem with origin Y direction in
DblMathDirection.

Dim DlbMathDirection As Double(3)
Dim MfgAxisSystem As ManufacturingMachiningAxis
Set MfgAxisSystem = …
MfgAxisSystem.GetOriginYDirection (DblMathDirection)
Return type:

tuple

get_origin_z_direction() tuple

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetOriginZDirection(double x,
double y,
double z)

Gets the Origin Z direction of a Manufacturing Machining Axis System used
as Origin.

Example:
The following example gets MfgAxisSystem with origin Z direction in
DblMathDirection.

Dim x,y,z As Double
Dim MfgAxisSystem As ManufacturingMachiningAxis
Set MfgAxisSystem = …
MfgAxisSystem.GetOriginZDirection (x,y,z)
Return type:

tuple

property origin: int

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property Origin() As short

This property returns the interface which manages if instruction os used as
an Origin or as a Machining Axis System. If instruction is an Origin, Origin is
set to 1, 0 otherwise.

Example:
The following example returns in origin the attribute to provide if
instruction is used as a Machining Axis System or an Origin
:

Set myInstruction = …
Set MyOrigin = myInstruction.Origin
Return type:

int

property origin_group: int

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property OriginGroup() As short

This property returns the interface which determines the origin group of
the instruction if used a an Origin.

Example:
The following example set the Origin Group to 5.

Set myInstruction = …
Set myInstruction.OriginGroup = 3
Return type:

int

property origin_number: int

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property OriginNumber() As short

This property returns the interface which manages the origin number of the
instruction if used a an Origin.

Example:
The following example set the Origin Number to 3.

Set myInstruction = …
Set myInstruction.OriginNumber = 3
Return type:

int

set_origin_point(i_point: AnyObject, i_product: AnyObject) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub SetOriginPoint(AnyObject iPoint,
AnyObject iProduct)

Sets the Origin of a Manufacturing Machining Axis System used as
Origin.

Example:
The following example sets MfgAxisSystem with PointOrigin as an Origin
Point and with ProductOrigin a belonging product.

Dim MfgAxisSystem As ManufacturingMachiningAxis
Set MfgAxisSystem = …
Dim PointOrigin As AnyObject
Dim ProductOrigin As Product
MfgAxisSystem.SetOriginPoint
(PointOrigin,ProductOrigin)
Parameters:
Return type:

None

set_origin_point_by_coordinates(x: float, y: float, z: float) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub SetOriginPointByCoordinates(double x,
double y,
double z)

Sets the Origin of a Manufacturing Machining Axis System used as Origin by
coordinates.

Example:
The following example sets the Origin MfgAxisSystem at coordinates
x,y,z.

Dim MfgAxisSystem As ManufacturingMachiningAxis
Set MfgAxisSystem = …
MfgAxisSystem.SetOriginPointByCoordinates(x,y,z)
Parameters:
  • x (float) –

  • y (float) –

  • z (float) –

Return type:

None

set_origin_x_direction(x: float, y: float, z: float) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub SetOriginXDirection(double x,
double y,
double z)

Sets the Origin X direction of a Manufacturing Machining Axis System used
as Origin.

Example:
The following example sets MfgAxisSystem with origin X direction in
DblMathDirection.

Dim DlbMathDirection As Double(3)
Dim MfgAxisSystem As ManufacturingMachiningAxis
Set MfgAxisSystem = …
MfgAxisSystem.SetOriginXDirection (DblMathDirection)
Parameters:
  • x (float) –

  • y (float) –

  • z (float) –

Return type:

None

set_origin_z_direction(x: float, y: float, z: float) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub SetOriginZDirection(double x,
double y,
double z)

Sets the Origin Z direction of a Manufacturing Machining Axis System used
as Origin.

Example:
The following example sets MfgAxisSystem with origin Y direction in
DblMathDirection.

Dim x,y,z As Double
Dim MfgAxisSystem As ManufacturingMachiningAxis
Set MfgAxisSystem = …
MfgAxisSystem.SetOriginZDirection (x,y,z)
Parameters:
  • x (float) –

  • y (float) –

  • z (float) –

Return type:

None

set_part_axis_system(i_pas: AnyObject, i_product: AnyObject) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub SetPartAxisSystem(AnyObject iPAS,
AnyObject iProduct)

Sets the Part Axis System of a Manufacturing Machining Axis
System.

Example:
The following example sets MfgAxisSystem with PAS as a Part Axis System
and with ProductPAS a belonging product.

Dim MfgAxisSystem As ManufacturingMachiningAxis
Set MfgAxisSystem = …
Dim PAS As AxisSystem
Dim PASProduct As Product
MfgAxisSystem.SetMachiningAxisSystem (PAS,PASProduct)
Parameters:
Return type:

None