All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

Items (Collection)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---Collection
          |
          +---Items
 


The collection of items related to the current activity.

Method Index

Add
This method adds the specified item in the current list
AddByAssignmentType
This method Assigns the specified item with the specified assignment type
CountByAssignmentType
This method returns the Number of items that assocated with the activity with given Assignment Type.
Item
This method returns the idl object Item for the specified item identifier.
ItemByAssignmentType
This method returns the item assocated with the activity with given Assignment Type.
RemoveByAssignmentType
This method used to unassign the specified item (with the given assignment type)

Methods


o Func Add(CATIAItem iProduct) As CATIAItem
This method adds the specified item in the current list
Parameters:
iItem
The item to add
Returns:
oitem The item
o Func AddByAssignmentType(CATIAItem iItem,
ItemAssignmentType iAssignmentType) As CATIAItem
This method Assigns the specified item with the specified assignment type
Parameters:
iItem
The item to be assigned
iAssignmentType
Type of the Assignment (Item to the Process)
Returns:
oitem The item
o Func CountByAssignmentType(ItemAssignmentType iAssignmentType) As long
This method returns the Number of items that assocated with the activity with given Assignment Type.
Parameters:
iAssignmentType
Type of the Assignment between items & the activity
Returns:
oNbItems No. of Items that are assigned to the activity with the given assignment type.
o Func Item(CATVariant iIndex) As CATIAItem
This method returns the idl object Item for the specified item identifier.
Parameters:
iIndex
The item identifier
Returns:
oItem The idl item
o Func ItemByAssignmentType(CATVariant iIndex,
ItemAssignmentType iAssignmentType) As CATIAItem
This method returns the item assocated with the activity with given Assignment Type.
Parameters:
iAssignmentType
Type of the Assignment between item & the activity
Returns:
oItem idl item to be returned
o Func RemoveByAssignmentType(CATIAItem iItem,
ItemAssignmentType iAssignmentType) As CATIAItem
This method used to unassign the specified item (with the given assignment type)
Parameters:
iItem
The item to be Unassigned
iAssignmentType
Type of the Assignment (Item to the Process) to be removed
Returns:
oitem The item

Copyright © 2003, Dassault Systèmes. All rights reserved.