ParallelGraphics Forums
SDK
You are here: [Forums]::[General]::[SDK]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   General - SDK

Subject: Re: [show/hide objects] How to do that?
Sender: steve@geostudio3d.co.uk 4.08.07 01:51

In javascript I would use :-

cortX=document.embeds[0].Engine;
w=cortX.Nodes.Item("MySwitch");
w.Fields.Item("whichChoice").Value=-1;

Use a Switch group node.
Thank you! I created a Switch/group node with a touch sensor and it switches perfectly between the real shape and an empty one. The point is: how can I route the event from the cortona SDK, instead of touching directly the shape? I have to control the hide/show event through an application, not directly through the scenegraph.

Thanks a lot!
Andrea


 


[show/hide objects] How to do that? / Andrea B / 2.08.07 11:43
     Re: [show/hide objects] How to do that? / kmani_soft@rediffmail.com / 23.08.07 08:05
     Re: [show/hide objects] How to do that? / steve@geostudio3d.co.uk / 3.08.07 01:30
         Re: [show/hide objects] How to do that? / Andrea B / 3.08.07 05:48
             Re: [show/hide objects] How to do that? / steve@geostudio3d.co.uk / 4.08.07 01:51

Messages in thread: 5


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.