Stuart,
Thanks for your help. I happened to stumble on this solution after I posted
my message.
Thanks for responding,
Dean
----- Original Message -----
From: Stuart Fischer <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 23, 1999 9:05 PM
Subject: Re: [JAVA3D] Access Named Nodes of a VRML file
> Use the getNamedObjects() method of the Scene object returned when
> you load the file.
>
> This returns a hashtable mapping DEF strings to Java3D nodes.
>
> If you save a reference to this hashtable in your program,
> you can access the named nodes at any time:
>
> Node aNode = (Node) myNamedNodeHashtable.get("MYNODENAME");
>
> I think this is exactly what you want.
>
> Stuart
>
> > Dean Keeler wrote:
> >
> > HI,
> >
> > I have used the VRML97 loader to load in a model from VRML file in
> > Java3D. Now I want to access specific named nodes that are DEFined in
> > the model to manipulate. How can I do this? I would like to send in
> > the name of a DEFined node and get back that node.
> >
> > Thanks for you help,
> >
> > Dean
>
>
===========================================================================
> 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".