I have created some requirements in my model and I was thinking if it was possible to modify the requirement block format (the colour for instance) depending on the value of an attribute of the same requirement.
Being more specific I would like to know if it is possible to automatically set the colour green to the requiremnt block if a boolean requirement attribute “verification” is set “true”, and red if the same attribute is set “false”. Connecting in this way the value of an attribute and the req format so that the different colours could be visible from a diagram.
Thanks for the help
The usual way to do that is to use the PVMT add-on, but I have doubt it would work on Requirements (provided that you are talking about Requirements from the Requirement Viewpoint).
I would look in Python4Capella to write a script that does that.
I will open a topic about that.