I have a few objects with custom triggers that I would like to add to my model with custom code. If I simply drag the object on the model view, all of the triggers load correctly.
However, if I try to create the object using the following code:
Object newProcessor = createinstance(maintree().find("project/userlibrary/UserLibrary 1/Custom Object"), model());
One of my triggers, namely On State Change, is no longer present. Any idea as to why this would occur?