API, MultiBinary REMA: First SubCondition can not be directly created by API

API, MultiBinary REMA: First SubCondition can not be directly created by API

Description

The first SubCondition of an MultiBinary REMA could not be created using the following API commands:
  • State.CreateSubState(); (COM) / ICondition.Create(); (Addin)
    (Replied an empty State/ICondition object)
  • Rema.CreateDynProperty("State[x].SubState"); (COM) / IReactionMatrix.CreateDynamicProperty("State[0].SubState"); (Addin)
    (Resulted in an exception: "Given property doesn't exist...[NameOfREMA]::SubState")
Both commands start working after a SubCondition is integrated in the REMA-Condition (manually or via importing an XML which already contains a SubCondition).

The issue has been addressed to allow creation from scratch using API:
If the parent Condition was created using Rema.CreateState() (COM) / Rema.CreateCondition() (Addin), the above commands work.

To benefit from this fix:
  • Update your zenon Software Platform to the latest build of zenon 14 or higher.


Item ID: 310160
Version: 15.00 Build: 539298
Version: 14.00 Build: 547398