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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectManufacturingInterfaces.ManufacturingFeatureManufacturingMachiningAxisManufacturingMachiningAxis defines a set of methods to manage a Machining AxisSystem 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 asOrigin.Example:The following example gets MfgAxisSystem with PointOrigin as an OriginPoint and with ProductOrigin a belonging product.Dim MfgAxisSystem As ManufacturingMachiningAxisSet MfgAxisSystem = …Dim PointOrigin As CATSafeArrayVariantDim ProductOrigin As ProductMfgAxisSystem.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 usedas Origin.Example:The following example gets MfgAxisSystem with origin X direction inDblMathDirection.Dim DlbMathDirection As Double(3)Dim MfgAxisSystem As ManufacturingMachiningAxisSet 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 usedas Origin.Example:The following example gets MfgAxisSystem with origin Y direction inDblMathDirection.Dim DlbMathDirection As Double(3)Dim MfgAxisSystem As ManufacturingMachiningAxisSet 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 usedas Origin.Example:The following example gets MfgAxisSystem with origin Z direction inDblMathDirection.Dim x,y,z As DoubleDim MfgAxisSystem As ManufacturingMachiningAxisSet 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 shortThis property returns the interface which manages if instruction os used asan Origin or as a Machining Axis System. If instruction is an Origin, Origin isset to 1, 0 otherwise.Example:The following example returns in origin the attribute to provide ifinstruction 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 shortThis property returns the interface which determines the origin group ofthe 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 shortThis property returns the interface which manages the origin number of theinstruction 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 asOrigin.Example:The following example sets MfgAxisSystem with PointOrigin as an OriginPoint and with ProductOrigin a belonging product.Dim MfgAxisSystem As ManufacturingMachiningAxisSet MfgAxisSystem = …Dim PointOrigin As AnyObjectDim ProductOrigin As ProductMfgAxisSystem.SetOriginPoint(PointOrigin,ProductOrigin)
- 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 bycoordinates.Example:The following example sets the Origin MfgAxisSystem at coordinatesx,y,z.Dim MfgAxisSystem As ManufacturingMachiningAxisSet 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 usedas Origin.Example:The following example sets MfgAxisSystem with origin X direction inDblMathDirection.Dim DlbMathDirection As Double(3)Dim MfgAxisSystem As ManufacturingMachiningAxisSet 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 usedas Origin.Example:The following example sets MfgAxisSystem with origin Y direction inDblMathDirection.Dim x,y,z As DoubleDim MfgAxisSystem As ManufacturingMachiningAxisSet 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 AxisSystem.Example:The following example sets MfgAxisSystem with PAS as a Part Axis Systemand with ProductPAS a belonging product.Dim MfgAxisSystem As ManufacturingMachiningAxisSet MfgAxisSystem = …Dim PAS As AxisSystemDim PASProduct As ProductMfgAxisSystem.SetMachiningAxisSystem (PAS,PASProduct)