I solve this kind of problem this way:

Get the namedObjects ot the scene and put all then in a HashTable.
If course the name of the objects where the keys.

When I want to do some operation in one of that objects returned I just ask
it to hashtable,
check if the returned objects  it is a instanceof of what (BG, TG, Shape3D
etc) and do the operation.

Alessandro


----- Original Message -----
From: "Christian Schnabl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 8:41 AM
Subject: Re: [JAVA3D] scenegraph.io troubles (updated)


> HI,
> I've got indeed the same Problem. All i get from the Hashmap are the DEFs
> like "MAT_Material" as Strings. The Objects on the other Hand are only
returned as Strings as well but seem to be integers in the form of 0 or 41,
23 etc.
> I haven't figured this out so far. The problem is, i want to access the
namedObjects so i can, for example, change the Appearance of the named
Objects.
> I really hope that anyone can answer this.
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to