Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

Re: question on aggregates

New Message Reply Date view Thread view Subject view Author view

Subject: Re: question on aggregates
From: Pierre Bommel (bommel@cirad.fr)
Date: Tue Dec 03 2002 - 12:24:10 CET

Hello Paolo,

Paolo Campo a écrit :

> hi.
>
> i'm new here (and i'm relatively a new user of
> Cormas)i really don't know how this works but here it
> goes. I have a question with regards to aggregates.
> how do i select a particular element from theCSE
> variable of a cell/patch? i keep getting an empty
> dictionary. what should be the proper syntax for this?
>

Normally, if you have built your aggregates as following
    <into CormasModel> self spaceModel setAggregates: Aggregate from:
Cell verifying: [:c | c context = #tree]
You should obtain for the attribut "components" of one of your
Aggregates :
    Set (a CormasNS.Models.TSE.Cell a CormasNS.Models.TSE.Cell a...)
If your Aggregates do not belong to an upper entity, the attribut
"theCSE" is empty : Dictionary ()
But you should obtain for the attribut "theCSE" of your
spatialEntityElement (Cell), something like:
    Dictionary (#Aggregate->a CormasNS.Models.TSE.Aggregate )
Best regards,

    Pierre

>
> thank you.
>
> Paolo
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com

--
***********************************
  Pierre Bommel
  CIRAD TA 60/15
  73, rue Jean-François Breton
  34398 Montpellier cedex 5 France
  Phone: +33 (0)4 67 59 38 53
  Fax: +33 (0)4 67 59 38 27
  http://cormas.cirad.fr
***********************************

New Message Reply Date view Thread view Subject view Author view
 

Back to home