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: Undefined Node Type
Sender: zappy1130@yahoo.com 15.05.07 21:19

I've created an external protocol for Portal as below.
In the script, the Portal node will be created. However, it said that the node was undefined. Umm, anyone can helps? Thanks.

EXTERNPROTO Portal[
    exposedField SFBool enabled
    exposedField SFBool ccw
    exposedField SFNode coord
    exposedField SFNode cell
]
["occNode.wrl#Portal"]

var name = ' PC'+ix+'_'+iy+' ';
portal = Browser.createVrmlFromString('DEF' +name+ 'Portal {}') [0];

file://D:\occTest.wrl(1) : Undefined node type Portal

 


Undefined Node Type / zappy1130@yahoo.com / 15.05.07 21:19
     Re: Undefined Node Type / nalex@parallelgraphics.com / 21.05.07 12:30
     Re: Undefined Node Type / Uh / 16.05.07 03:50

Messages in thread: 3


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