Hi,
I am trying to create an FTA model via scripts. I get an error while trying to create a connection between a event and logical gate (error description attached).
var newmodel = Factory.createElement(ftamodel, Metamodel.FTA.FTAModel)
var event1 = Factory.createElement(newmodel , Metamodel.FTA.Event)
var gate1 = Factory.createElement(newmodel, Metamodel.FTA.LogicalGate)
var connection = Factory.createRelation(event1,gate1, Metamodel.FTA.Connection)
Any suggestions on how to resolve this?