pycatia.dmaps_interfaces.items¶
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.dmaps_interfaces.items.Items(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionItemsThe collection of items related to the current activity.- add(i_product: Item) Item ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Add(Item iProduct) As ItemThis method adds the specified item in the current listParameters:iItemThe item to addReturns:oitem The item
- add_by_assignment_type(i_item: Item, i_assignment_type: int) Item ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddByAssignmentType(Item iItem,ItemAssignmentType iAssignmentType) As ItemThis method Assigns the specified item with the specified assignmenttypeParameters:iItemThe item to be assignediAssignmentTypeType of the Assignment (Item to the Process)Returns:oitem The item
- count_by_assignment_type(i_assignment_type: int) int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func CountByAssignmentType(ItemAssignmentType iAssignmentType) AslongThis method returns the Number of items that assocated with the activitywith given Assignment Type.Parameters:iAssignmentTypeType of the Assignment between items & the activityReturns:oNbItems No. of Items that are assigned to the activity with the givenassignment type.
- Parameters:
i_assignment_type (int) – enum item_assignment_type
- Return type:
int
- item(i_index: cat_variant) Item ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As ItemThis method returns the idl object Item for the specified itemidentifier.Parameters:iIndexThe item identifierReturns:oItem The idl item
- Parameters:
i_index (cat_variant) –
- Return type:
- item_by_assignment_type(i_index: cat_variant, i_assignment_type: int) Item ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ItemByAssignmentType(CATVariant iIndex,ItemAssignmentType iAssignmentType) As ItemThis method returns the item assocated with the activity with givenAssignment Type.Parameters:iAssignmentTypeType of the Assignment between item & the activityReturns:oItem idl item to be returned
- Parameters:
i_index (cat_variant) –
i_assignment_type (int) – enum item_assignment_type
- Return type:
- remove_by_assignment_type(i_item: Item, i_assignment_type: int) Item ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func RemoveByAssignmentType(Item iItem,ItemAssignmentType iAssignmentType) As ItemThis method used to unassign the specified item (with the given assignmenttype)Parameters:iItemThe item to be UnassignediAssignmentTypeType of the Assignment (Item to the Process) to be removedReturns:oitem The item