On Mon, 17 Aug 1998, GL-NET wrote:
> Is a
> :SetVariable ( ( "/test/startup" 100 ) :GObjectRef 30 )
A)
> the same as a
> :SetVariable ( ( "/test/startup" 100 ) :GObjectRef ( "/test/scene1.mhg"
> 30 ) )
B)
> or as a
> :SetVariable ( ( "/test/startup" 100 ) :GObjectRef ( "/test/startup" 30
> ) )
If the SetVariable action is executed in the scope of a Scene object (e.g.
a Link in a Scene) then alternative A) applies.
> The default for GroupIdentifiers for ingredients is ok,
> but is it valid for actions ?
The GroupIdentifiers is always regarded in the scope of the group object,
(i.e. Application or Scene) the object which contains the GroupIdentifiers
is an item of.
Please, have a look at section 50.1 of 13522-5.
> Unfortunately the description of the SetVariable action for
> ObjectRef-Variables is very short :-(
Right. But this is true for all nearly everything :-)
> At last there is the question if it is legal for an application
> object-ref-variable to have a reference to a scene object - as
> application objects never reference scene objects in any other
> part of the standard.
This is explained in section 51 of the standard document.
But, there it is not allowed to have a reference to Ingredient from
within an Application object (see II.).
Some time ago, there was a discussion whether it is allowed that a value
contained in an ObjectRefVariable refere to an ingredient in a Scene (of that
application).
Actually, I am not sure what the outcome of this discussion was.
There is also no item in the DCOR1 document which discusses this...
Please, Guido, Yoshiharu, or someone else, can you help us here?
BR,
Andreas
-- o _ Andreas Kraft (\_|_) GMD FOKUS, kraft@fokus.gmd.de, +49 30 3463-7232 T> ] [ The sky is the limit