Re: Scripted operator documentation

Date : Tue, 03 Jul 2007 23:47:24 +0200
To : XSI(at)Softimage.COM
From : Martin Matzeder <xsi(at)booyabase.de>
Subject : Re: Scripted operator documentation
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


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.