Defining upper and lower bounds for values

Diagramming issues

Moderator: Moderators

Defining upper and lower bounds for values

Postby JuS » Mon Aug 12, 2019 7:27 am

Hello,

I'm looking for a way to define the upper and lower bounds of a value. The goal is, that I get a feedback when creating an instance. I tried the following way. Part 1 has a value named "value" with the value type "length". Two constraints are supposed to check, if "value" is between 0 and 20.

valueBoundaries.PNG


The result should be, that in the instance a value, for example 30, is marked as an error in regand to the definition of the assembly.

instance.PNG


In the long run, I want the model to tell me, if a chosen instance is correct in regard to the definition. In the video "Model Variants" https://www.youtube.com/watch?v=DcRjF9Lj5NQ it is shown, that it is possible to achieve this check for the multiplicity. However, I haven't found a way for values.

Kind regards,
Justus
You do not have the required permissions to view the files attached to this post.
JuS
Forum Newbie
Forum Newbie
 
Posts: 3
Posts Rating:0
Joined: Mon Jul 22, 2019 3:06 am

Return to Diagramming

Who is online

Users browsing this forum: No registered users and 0 guests