Hi,
Does mediniGetOpposites work also for newly created trace for example between a failure mode and a failure entry (i.e. right after a new failure mode is added to an attached FMEA)?
The following code fails for the first run, but works for the 2nd run.
var componentEntry = fmea.components[0];
var element = componentEntry.element;
var newFM = findOrCreateFailureMode(element, 'new Failure Mode' );
console.log( newFM.mediniGetOpposites('element').size() ); // this returns 0 instead of > 1
var failureEntry = newFM.mediniGetOpposites('element')[0]; // this fails for the first run as mediniGetOpposites returns null
Regards,
Toru