You have to use Out.Value....., not Outpolymsh.Value...
for every Out port XSI calls the operator to update, and everydate the
out refers to another output port. (unfortunately 7 outputs cause the
operatero evaluate 7 times)
You can check what output port is used by cheching it;s name: Out.Name
with a switch case You can build up a multioutput port scop easily
martin
Bernard Lebel schrieb:
Ok I restarted XSI and now it seems to work, God knows why.
However, how do I drop the position array into the output position
array? I guess I'm missing something....
dim aInPnts
aInPnts = Inpolymsh.Value.Geometry.Points.PositionArray
Outpolymsh.Value.Geometry.Points.PositionArray = aInPnts
Result in
'ERROR : Object required: 'Outpolymsh' - [line 3 in update code]
'ERROR : 2190 - The scripted operator connected to sphere.polymsh
produced a runtime error during its evaluation and will no longer be
evaluated.
Thanks once again
Bernard
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi