That's interesting, thanks for the info Hsiao.

Kamen, if this is needed for some export-related process you might have to 
change the order in which you look at objects. That is: Look at all groups 
first, remember the objects associated with them, then export, instead of 
asking objects directly to which group they belong. That could still lead to 
objects being exported multiple times if they belong to more than one group 
though. If that's a problem, partitions might be the solution, they are 
essentially mutual exclusive groups. Just a thought, not sure if that would 
suit your needs.


Hi Stefan,

The precedence will be given to the Group that gets evaluated last.
i.e. the innermost Group, or the Group that comes last in the Explorer tree 
(with no sort order applied).

Thanks,
Hsiao Ming

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Stefan Kubicek
Sent: Tuesday, 3 July, 2012 8:36 PM
To: [email protected]
Subject: Re: Property priority

Btw, which property takes precedence if the object belongs to more than one 
group?


Hello,

We have the following situation: we are applying a custom property
with a given name to an object, and the same property (same name) -
but with different values inside it - to a group. Then we make the
object a member of the group.

The documentation says in these circumstances the group property
should take priority, i.e. when we later invoke GetPropertyFromName,
we should see the value of the group property. However, our
experiments show that no prioritization takes place at all. If we
first add the local property, we get its value; if we first add the
group property, we get the group prop's value.

Has anybody observed this before?

Regards,
K.



--
-------------------------------------------
Stefan Kubicek                   Co-founder
-------------------------------------------
           keyvis digital imagery
          Wehrgasse 9 - Grüner Hof
           1050 Vienna  Austria
         Phone:    +43/699/12614231
--- www.keyvis.at  [email protected] ---
--  This email and its attachments are
--confidential and for the recipient only--




--
-------------------------------------------
Stefan Kubicek                   Co-founder
-------------------------------------------
          keyvis digital imagery
         Wehrgasse 9 - Grüner Hof
           1050 Vienna  Austria
        Phone:    +43/699/12614231
--- www.keyvis.at  [email protected] ---
--  This email and its attachments are
--confidential and for the recipient only--

Reply via email to