"Default Value" of Metric Definition is Lost on Copy-Paste

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

"Default Value" of Metric Definition is Lost on Copy-Paste

Postby trevor.a.grondin@nasa.gov » Thu Apr 18, 2019 12:58 pm

Hello,

I have created several metric definitions using Structured Expressions to drive the results of the metric. I am trying to create a set of metrics I can reuse in other models, but when I copy the Metric Definition and paste it into a new model, the Default Value is reset to empty. Why does this happen?? Everything else about the Metric Definition is preserved. If I use Structured Expressions in Smart Packages, Opaque Behaviors, Constraints, they are preserved when I copy and paste them into a new model.

Please help, because this behavior seems inconsistent with other functionality in MagicDraw.

Thanks,

Trevor
Trevor
MagicDraw v18.0 SP5
trevor.a.grondin@nasa.gov
Forum Newbie
Forum Newbie
 
Posts: 7
Posts Rating:0
Joined: Thu Apr 28, 2016 3:38 pm

Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 0 guests