Dear All
I have this script to detect which causes are linked to a measure in a FMEA.
self.mediniGetOpposites('detectionMeasures').oclAsType(safetyModel::MeasureGroup).mediniGetOpposites('element').oclAsType(FMEA::MeasureEntry).failureCause->asSet()
But when we have the same cause for different Failure modes, this script detects 2 or 3 times the same cause
Do you have a solution, perhaps replace asSet() by other thing, when i put first() i have only the first cause ?
Thank you in advance
Phil
