Ang. Re: Scripting help - PathCns - Dan's attempt in Jscript....
| Date : Tue, 12 Jul 2005 14:17:22 +0200 |
| To : XSI(at)Softimage.COM |
| From : Demian Zarins <demian.zarins(at)svt.se> |
| Subject : Ang. Re: Scripting help - PathCns - Dan's attempt in Jscript.... |
Thanx for all the help, obviously I got som stuff to learn :)
/D
---------------------------------------------------------------------------
D E M I A N Z A R I N S
Projektledare
S V T -> Växthuset - The Green House
Sveriges Television
Oxenstiernsg 26
105 10 STOCKHOLM
Phone: +46 8 784 3312 ->mobile:+46 709-951984
| Dan Yargici <dan(at)imajonline.com>
Sänt av: owner-xsi(at)Softimage.COM 2005-06-03 13:57
|
|
Yeah, that's probably it now you mention it. The example I used was cut
and pasted from Brad's example so I was probably doing the opposite and
using caps instead of lowercase....
I'll definately remember that....
Yup - just checked, it needs to be lowercase. Thanks Bernard.
DAN
Bernard Lebel wrote:
> That happened to me as well, but only with Python scripts. Perhaps you
> did use a capital for the boolean value?
>
> I don't know for other langages, but in Python, the boolean value is a
> subtype of the integer type. Therefore, using an integer instead of
> boolean (True/False -> 0/1) will always work, because it is
> essentially the same value.
>
>
> Cheers
> Bernard
>
>
>
> Dan Yargici wrote:
>
>>
>> P.S. I've just realised I forgot to ask something else, occasionally
>> in my script I would get errors where I had a true or false -
>> ".....addparameter3( "Value", siInt2, 1, 0, 4, true, false )" for
>> instance. If I swapped them, for 1s or 0s things would work. Anyone
>> experienced that before? Is there a logical reason?
>
>
>
>
> ---
> 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
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: RE: sizing transform manipulator
- Next by Date: RE: sizing transform manipulator
- Previous by Thread: RE: sizing transform manipulator
- Next by Thread: RE: sizing transform manipulator
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |