[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [x3d-public] Import/Export Example



Dave wrote:

Can one multiply import from the same file, thus?

IMPORT MVB_INLINE.POSTION_INTERP AS PI1
IMPORT MVB_INLINE.POSTION_INTERP AS PI2
IMPORT MVB_INLINE.POSTION_INTERP AS PI3

ROUTE PI1.value_changed TO TG1.set_translation
ROUTE PI.2value_changed TO TG2.set_translation
ROUTE PI.3value_changed TO TG3.set_translation

the imports are a field not a node.  And yes you can import multiple ones.

And can these imported nodes be accessed via SAI the same as DEF'ed ones?
ie: getNode ("PI1")

you can but we haven't implemented that yet in Xj3D.

-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html