pycatia.manufacturing_interfaces.manufacturing_precedences

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_precedences.ManufacturingPrecedences(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
ManufacturingPrecedences

Interface that manage the precedences for an object of type @
CATIAManufacturingActivity.
If an object A has objects B and C as precedence constraints, it means that B
and C have to be performed before A.
add_operation(i_object: ManufacturingActivity, i_type: int) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub AddOperation(ManufacturingActivity iObject,
CatManufacturingPrecedenceType iType)

Adds a new precedence in the collection of precedences. The type of added
object is a CATIAManufacturingActivity.
Parameters:
Return type:

None

item(i_index: cat_variant) ManufacturingPrecedence

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func Item(CATVariant iIndex) As ManufacturingPrecedence

Returns a precedence object from the precedence collection.
Parameters:

i_index (cat_variant) –

Return type:

ManufacturingPrecedence

remove(i_index: int) None

Note

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

Removes an object from the precedences collection. The removed precedence
will be deleted, but not the referenced object attach to this precedence.
Parameters:

i_index (int) –

Return type:

None

remove_all() None

Note

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

Removes all objects from the precedences collection.
Return type:

None