Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

RE : Visualisation des messages avec cormas : 2

New Message Reply Date view Thread view Subject view Author view

Subject: RE : Visualisation des messages avec cormas : 2
bousquet@cirad.fr
Date: Thu May 26 2005 - 04:38:01 CEST

Hello Mahamadou
 
The best model to understand the message system is the The Fire tutorial.
 
To visualise messages you will have to program it as an Observer. So you go to
Program->Observer-> Messages.
There you will have to write a program which output will be true or false.
This program is applies to each instance of message.
Suppose for instance that in you model the messages have a “intensity”
attribute, and you would like to see only the messages with intensity > 5.
You will write the following method
 
povIntensity
 
^self intensity > 5
 
That’s it. This will send back a message true or false.
Note: there is a problem with the default povMessage. You ‘ll have to delete
the # coming before true.
Then when you open your interface you just have to select your pov. There is no
command to force the visualisation.
 
Does it work?

New Message Reply Date view Thread view Subject view Author view
 

Back to home