pycatia.assembly_interfaces.assembly_split

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.assembly_interfaces.assembly_split.AssemblySplit(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
CATAssemblyInterfaces.AssemblyFeature
AssemblySplit

Represents the AssemblySplit object.
modify_splitting_element(i_splitting_element: Reference, i_splitting_elem_comp: Product) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub ModifySplittingElement(Reference iSplittingElement,
Product iSplittingElemComp)

Replaces the splitting element by a new one.

Parameters:

iSplittingElement
The new face or plane that will split the current body

iSplittingElemComp
The component that contains the new splitting element


Example:
The following example replaces the existing splitting element of the
assembly split assemblySplit by sptElem contained in the sptComponent splitting
component

assemblySplit.ModifySplittingElement(sptElem, _
sptComponent)
Parameters:
Return type:

None

property splitting_component: Product

Note

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

Returns the component containing the splitting element.

Example:
The following example retrieves in sptComponent the splitting component
containing the splitting element of the assembly split
assemblySplit:

Dim sptComponent As Product
Set sptComponent = assemblySplit.SplittingComponent
Return type:

Product

property splitting_element: Reference

Note

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

Returns the splitting element.

Example:
The following example retrieves in sptElement the splitting element of
the assembly split assemblySplit:

Dim sptElement As Reference
Set sptElement = assemblySplit.SplittingElement
Return type:

Reference

property splitting_side: int

Note

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

Returns or sets the splitting side. The splitting side is the side of the
split object kept after the split, with respect to the splitting element. A
positive side refers to the split object side shown by the splitting element
normal vector.

Example:
The following example returns in sptSide the splitting side of the
assembly split assemblySplit, and then sets it to
catPositiveSide:

Set sptSide = assemblySplit.SplittingSide
assemblySplit.SplittingSide = catPositiveSide
Returns:

enum cat_split_side

Return type:

int