Using the GUI, I can drag an event from the Palette into the fta diagram. Then I can select the event, go into properties > Base > Kind and change it to HOUSE.
However, the effectiveKind filed/property is read-only, hence I cannot change it with a script like the following:
// Create a standard event
var event = Factory.createElement(fta_model_scope , Metamodel.FTA.Event);
// Change event name
event.name = name;
// Change event into an house gate
event.effectiveKind = "HOUSE"; // fails here
Any workarounds for this? Are there any plans to add this in a future release?
Thanks