Advanced Component Iterator Features: ITR [2 of 2]
Iterators can be configured to include or not include objects in different transmittals.
- SE_ITR_BHVR_IGNORE
- Completely filters out objects in other Transmittals.
- SE_GetNextObject() returns SE_STAT_CODE_SUCCESS, SE_STAT_CODE_NO_OBJECT.
- SE_ITR_BHVR_RESOLVE
- Includes objects in other Transmittals.
- The Iterator will resolve Object B if the Transmittal is accessible.
- Returns SE_STAT_CODE_DIFFERENT_TRANSMITTAL on success, and SE_STAT_CODE_UNRESOLVED_OBJECT if unable to resolve.
- SE_ITR_BHVR_REPORT
- Includes objects in other Transmittals.
- The Iterator does NOT attempt to resolve Object B.
- Returns SE_STAT_CODE_UNRESOLVED_OBJECT on success.
Be sure to test for the correct status from SE_GetNextObject. ie., SE_STAT_CODE_UNRESOLVED_OBJECT can be a success status or a failure status depending on how the Iterator was initialized!