This page identifies a possible issue, inconsistency, concern, error, or bug!
One of the ways Webel IT Australia helps promote tools, technologies, and languages is by donating a lot of time identifying, tracking, and reporting potential issues, in order to help vendors and developers improve the tools and technologies. In some cases, we also offer workarounds and advice for users. All issues tracked on our public site are offered most constructively and with sincerest gratitude to the tool vendors and technology developers.
DISCLAIMER: Vendors do not officially endorse issue analysis by Webel IT Australia.
If you look at the 2026xR2 docs for Modeling actions for simulation you might notice that there is a slightly unusual (but valid) use of assign with
:= to assign to output parameters. For example:
action readTemperature assign measuredTemp := 35.0 {
out attribute measuredTemp : Real;
}
The following form is probably more familiar to you and runs just fine (see image above):
action readTemperatureAlt {
out attribute measuredTemp : Real = 35.0;
}
Whilst the form shown in the Cameo docs is valid, it does not scale well, and employs an extra and seemingly unnecessary assign.
The 2026xR2 docs also have this unusual form under Feature-chain reference example:
do action power : ActionDefs::ProvidePower {
out attribute outBusVoltage :=
batteryData.voltageLevel;
}
