pycatia.smt_interfaces.dmo_thicknesses

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.dmo_thicknesses.DMOThicknesses(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
DMOThicknesses

Interface to access a CATIADMOThicknesses and compute
Thicknesses
add(i_product_to_thickness: Product, i_thickness1: float, i_thickness2: float, i_use_constraints: int, i_constraints: tuple, i_shape_name: str, i_activated_shape: int, i_default_shape: int) DMOThickness

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func Add(Product iProductToThickness,
double iThickness1,
double iThickness2,
long iUseConstraints,
CATSafeArrayVariant iConstraints,
CATBSTR iShapeName,
long iActivatedShape,
long iDefaultShape) As DMOThickness

Creates a new Silhouette and adds it to the DMOThicknesses collection. This
function is deprecated.
Parameters:
  • i_product_to_thickness (Product) –

  • i_thickness1 (float) –

  • i_thickness2 (float) –

  • i_use_constraints (int) –

  • i_constraints (tuple) –

  • i_shape_name (str) –

  • i_activated_shape (int) –

  • i_default_shape (int) –

Return type:

DMOThickness

compute_a_thickness(group_of_selected_products: Group, i_thickness1: float, i_thickness2: float, i_use_constraints: int, i_constraints: tuple) Document

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func ComputeAThickness(Group GroupOfSelectedProducts,
double iThickness1,
double iThickness2,
long iUseConstraints,
CATSafeArrayVariant iConstraints) As Document

Compute a thickness on the selected products. This method is
deprecated.

Parameters:

GroupOfSelectedProducts
The selected products on which you want to perform the thickness.

iThickness1
First thickness value.
iThickness2
Second thickness value. Old way
iUseConstraints
Do we use normals constraints or not ?
iConstraints
Constraints array.

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

  • i_thickness1 (float) –

  • i_thickness2 (float) –

  • i_use_constraints (int) –

  • i_constraints (tuple) –

Return type:

Document

compute_a_thickness_with_a_reference(i_group_of_selected_products: Group, i_reference_product: Product, i_thickness1: float, i_thickness2: float, i_use_constraints: int, i_constraints: tuple) Document

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func ComputeAThicknessWithAReference(Group
iGroupOfSelectedProducts,
Product iReferenceProduct,
double iThickness1,
double iThickness2,
long iUseConstraints,
CATSafeArrayVariant iConstraints) As Document

Compute a thickness on the selected products, according to a reference
product. This method is deprecated.

Parameters:

iGroupOfSelectedProducts
The selected products on which you want to perform the thickness.

iReferenceProduct
The reference product.
iThickness1
First thickness value.
iThickness2
Second thickness value. Old way
iUseConstraints
Do we use normals constraints or not ?
iConstraints
Constraints array.

Returns:
ThicknessDocument: Document containing the result.
Parameters:
  • i_group_of_selected_products (Group) –

  • i_reference_product (Product) –

  • i_thickness1 (float) –

  • i_thickness2 (float) –

  • i_use_constraints (int) –

  • i_constraints (tuple) –

Return type:

Document

compute_thickness(group_of_selected_products: Group, i_thickness1: float, i_thickness2: float, i_use_constraints: int, i_constraints: tuple) Document

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func ComputeThickness(Group GroupOfSelectedProducts,
double iThickness1,
double iThickness2,
long iUseConstraints,
CATSafeArrayVariant iConstraints) As Document

Compute a thickness on the selected products.

Parameters:

GroupOfSelectedProducts
The selected products on which you want to perform the thickness.

iThickness1
First thickness value.
iThickness2
Second thickness value.
iUseConstraints
Do we use normals constraints or not ?
iConstraints
Constraints array.

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

  • i_thickness1 (float) –

  • i_thickness2 (float) –

  • i_use_constraints (int) –

  • i_constraints (tuple) –

Return type:

Document

compute_thickness_with_reference(i_group_of_selected_products: Group, i_reference_product: Product, i_thickness1: float, i_thickness2: float, i_use_constraints: int, i_constraints: tuple) Document

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func ComputeThicknessWithReference(Group
iGroupOfSelectedProducts,
Product iReferenceProduct,
double iThickness1,
double iThickness2,
long iUseConstraints,
CATSafeArrayVariant iConstraints) As Document

Compute a thickness on the selected products, according to a reference
product.

Parameters:

iGroupOfSelectedProducts
The selected products on which you want to perform the thickness.

iReferenceProduct
The reference product.
iThickness1
First thickness value.
iThickness2
Second thickness value.
iUseConstraints
Do we use normals constraints or not ?
iConstraints
Constraints array.

Returns:
ThicknessDocument: Document containing the result.
Parameters:
  • i_group_of_selected_products (Group) –

  • i_reference_product (Product) –

  • i_thickness1 (float) –

  • i_thickness2 (float) –

  • i_use_constraints (int) –

  • i_constraints (tuple) –

Return type:

Document

thickness_shape_name() str

Note

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

Returns the name of the associated shape.
Return type:

str