pycatia.smt_interfaces.merges

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.smt_interfaces.merges.Merges(com_object)

Note

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

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.Collection
Merges

Interface to compute CATIAMerges
clean_up() None

Note

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

Performs some clean-up.
Return type:

None

compute_merge(group_of_selected_products: Group, i_accuracy_for_simplification: float, i_keep_edges: int, i_decoration: int) Document

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func ComputeMerge(Group GroupOfSelectedProducts,
double iAccuracyForSimplification,
long iKeepEdges,
long iDecoration) As Document

Computes the merge on the selected products.

Parameters:

GroupOfSelectedProducts
The selected products on which you want to perform the 3D cut.

iAccuracyForSimplification
Set this to a non null value to have the simplification activated.

iKeepEdges
Do you want edges in the result?
iDecoration
Do you want decorations in the result?

Returns:
MergeDocument: Document containing the result.
Parameters:
  • group_of_selected_products (Group) –

  • i_accuracy_for_simplification (float) –

  • i_keep_edges (int) –

  • i_decoration (int) –

Return type:

Document

merge_shape_name() str

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func MergeShapeName() As CATBSTR

Returns the name of the associated shape.
Return type:

str