pycatia.manufacturing_interfaces.manufacturing_output_generator

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_output_generator.ManufacturingOutputGenerator(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
ManufacturingOutputGenerator

Father object to generate output machining code.
add_me_to_buffer(o_add_me: int) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub AddMeToBuffer(long oAddMe)

Management of specific buffer for aligned points elimination.
Parameters

o_add_me (int) –

Return type

None

generate_output_code(i_data: pycatia.manufacturing_interfaces.manufacturing_generator_data.ManufacturingGeneratorData) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GenerateOutputCode(ManufacturingGeneratorData iData)

Return the Output Code for an object in the right CNC Machine.
Parameters

i_data (ManufacturingGeneratorData) –

Return type

None

get_apt_code(i_data: pycatia.manufacturing_interfaces.manufacturing_generator_data.ManufacturingGeneratorData, o_code: str) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetAPTCode(ManufacturingGeneratorData iData,
CATBSTR oCode)

Retrieve generated APT code.
Parameters
Return type

None

get_current_object(o_current_object: int) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetCurrentObject(long oCurrentObject)

Get current object from buffer.
Parameters

o_current_object (int) –

Return type

None

has_to_reset_modal_values(o_is_modal: int) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub HasToResetModalValues(long oIsModal)

Return the characteristic of an object : Reset or not Modal Values.
Parameters

o_is_modal (int) –

Return type

None

init_file_generator(i_format: str, i_file_name: str, o_data: pycatia.manufacturing_interfaces.manufacturing_generator_data.ManufacturingGeneratorData) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub InitFileGenerator(CATBSTR iFormat,
CATBSTR iFileName,
ManufacturingGeneratorData oData)

Init the Output Generator on the current Object and initialise all datas.
Generation of NC code can start from the Process, Setup, Program or an
Activity.

Parameters:

iFormat
Format of the output file : “APT”, …
iFileName
Output file name
oData
iData contains all the information about the generated NC
code
Parameters
Return type

None

is_modal(o_is_modal: int) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub IsModal(long oIsModal)

Return the characteristic of an object : Modal or Not Modal.
Parameters

o_is_modal (int) –

Return type

None

is_similar_to(i_object: pycatia.manufacturing_interfaces.manufacturing_output_generator.ManufacturingOutputGenerator) int

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func IsSimilarTo(ManufacturingOutputGenerator iObject) As
long

Implement a method to specify if two objects are same (when Modal Mode).
The result depends on the tolerance on the values (to points)
Parameters

i_object (ManufacturingOutputGenerator) –

Return type

int

run_file_generator(i_data: pycatia.manufacturing_interfaces.manufacturing_generator_data.ManufacturingGeneratorData) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub RunFileGenerator(ManufacturingGeneratorData iData)

Runs the Output Generator on the datas used for generation. Generation of
NC code can start from the Process, Setup, Program or an
Activity.

Parameters:

iData
iData contains all the information about the generated NC
code
Parameters

i_data (ManufacturingGeneratorData) –

Return type

None

set_current_object(i_current_object: int) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub SetCurrentObject(long iCurrentObject)

Set current object to buffer.
Parameters

i_current_object (int) –

Return type

None