Adding integer values to collections 2004-05-26 - By Bernard Lebel
Back Thanks Bernard
-- -- Original Message -- -- From: Guy Rabiller To: XSI@(protected) Sent: Wednesday, May 26, 2004 12:05 PM Subject: Re: [Script] Adding integer values to collections
> Still, I'd be curious to know why XSI barfs an error on that one Because a Collection store 'objects' or references to objects, not 'values'.
-- guy rabiller | 3d technical director @ LaMaison
Bernard Lebel wrote:
Well, seems to work with an array.
Still, I'd be curious to know why XSI barfs an error on that one.
Cheers Bernard
-- -- Original Message -- -- From: "Bernard Lebel" <atyss4si@(protected)> To: <XSI@(protected)> Sent: Wednesday, May 26, 2004 11:17 AM Subject: [Script] Adding integer values to collections
Hello,
I'm trying to store values in a collection, but when I use the add method the script fails (no specific error)
// Get shadow map resolution var iShadowRes = e.item().activeprimitive.parameters( "ShadowMapRes" ).value;
// Add value to collection oShadowMapColl.add( iShadowRes );
//ERROR : " - [line 133]"
Can this be done at all?
Thanks Bernard
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|