pycatia.analysis_interfaces.analysis_mesh_part

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.analysis_interfaces.analysis_mesh_part.AnalysisMeshPart(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
CATAnalysisInterfaces.AnalysisSet
AnalysisMeshPart

The interface to access a CATIAAnalysisMeshPart.
property activity: bool

Note

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

Returns the activity of an meshpart.

Parameters:

oActivity

Legal values:

FALSE
Mesh Part is not active.
TRUE
Mesh Part is active.
Return type:

bool

add_support_from_publication(i_product: Product, i_support: Publication) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub AddSupportFromPublication(Product iProduct,
Publication iSupport)

Creates a new support and add it to the support description of the mesh
part.

Parameters:

iProduct
the CATIA Product that represent the object to
linked.
iPublication
the CATIA Publication that represent the the geometry to
meshed.

See also:
Publication, Product
Parameters:
Return type:

None

add_support_from_reference(i_product: Product, i_support: Reference) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub AddSupportFromReference(Product iProduct,
Reference iSupport)

Creates a new support and add it to the support description of the mesh
part.

Parameters:

iProduct
the CATIA Product that represent the object to
linked.
iSupport
the CATIA Reference that represent the geometry to
meshed.

See also:
Reference, Product
Parameters:
Return type:

None

property analysis_mesh_local_specifications: AnalysisMeshLocalSpecifications

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property AnalysisMeshLocalSpecifications() As
AnalysisMeshLocalSpecifications (Read Only)

Returns the local specification collection from the meshpart analysis.
Return type:

AnalysisMeshLocalSpecifications

set_global_specification(i_name: str, i_value: cat_variant) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub SetGlobalSpecification(CATBSTR iName,
CATVariant iValue)

Sets the value corresponding to the given global
specification.

Parameters:

iName
The identifier if the global specification.
iValue
The value of the global specification.
Parameters:
  • i_name (str) –

  • i_value (cat_variant) –

Return type:

None

set_mesh_parts_to_capture(i_mesh_parts: tuple) None

Note

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

Set the list of candidate Mesh Parts for capture.

Parameters:

iMeshParts
Safe array of mesh parts.

Returns:
An HRESULT.
Legal values:

S_OK
Operation successfull.
E_FAIL
Operation failed.
Parameters:

i_mesh_parts (tuple) –

Return type:

None

set_specification_from_publication(i_name: str, i_product: Product, i_support: Publication, i_mode: int) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub SetSpecificationFromPublication(CATBSTR iName,
Product iProduct,
Publication iSupport,
long iMode)

Adds the geometric value corresponding to the given global
specification.

Parameters:

iName
The identifier if the global specification.
iProduct
the CATIA Product that represent the object to
linked.
iPublication
the CATIA Publication that represent the the geometry to
meshed.

See also:
Publication, Product
iMode
The mode used to valuate the publication global
specification.
Legal values:

0
the global specification is defined as a single reference.

1
the global specification is added to exising
references.
Parameters:
Return type:

None

set_specification_from_reference(i_name: str, i_product: Product, i_support: Reference, i_mode: int) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub SetSpecificationFromReference(CATBSTR iName,
Product iProduct,
Reference iSupport,
long iMode)

Set the geometric value corresponding to the given global
specification.

Parameters:

iName
The identifier if the global specification.
iProduct
the CATIA Product that represent the object to
linked.
iSupport
the CATIA Reference that represent the geometry to
meshed.

See also:
Reference, Product
iMode
The mode used to valuate the reference global
specification.
Legal values:

0
the global specification is defined as a single reference.

1
the global specification is added to exising
references.
Parameters:
  • i_name (str) –

  • i_product (Product) –

  • i_support (Reference) –

  • i_mode (int) –

Return type:

None