![]() |
help |
Post Reply
|
| Author | |||
avf
Member
Joined: 30.Jul.2016 Points: 1 |
Post Options
Thanks(0)
Quote Reply
Topic: helpPosted: 30.Jul.2016 at 07:42 |
||
|
hi,
I have a question. I have two object and each object have two Properties. for example (A object and their properties B and C) and (D object and their properties E and F) I want Put a constraint. if F property has selection H, in C property just allow one element. can write this constraint with merl? can you help me? best regard )
Edited by stevek - 30.Jul.2016 at 10:20 |
|||
![]() |
|||
stevek
MetaCase
Joined: 11.Mar.2008 Points: 643 |
Post Options
Thanks(0)
Quote Reply
Posted: 30.Jul.2016 at 10:18 |
||
|
I'd put a text element with a generator in G's symbol:
If you know some extra constraints, e.g. that each relationship G has just one A and one D, and that each entry in C has no spaces (so the string representation of all of C might be 'C1 C2 C3', and hence contain a space only if there is more than one element), you can save some code:
Best practice would be have the text element generator simply be a call to a generator defined in the graph type. By convention such generators are called something like __sym_G_cSize(). Defining the generator in the graph type lets you reuse that check in other generators, e.g.
|
|||
![]() |
|||
Post Reply
|
|
| Tweet |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |