Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Scripting : How to know if a CnxPoint is connected ?

Scripting : How to know if a CnxPoint is connected ?

2005-02-28       - By Guillaume Laforge

 Back
Reply:     1     2     3  

Thanks Bernard,

I just discovered you explain it here :
http://www.xsibase.com/forum/index.php?board=26;action=display;threadid=16336
;start=15
and Kim example is very interesting too ! Lot of  homework tonight :-)

Cheers,

Guillaume Laforge
CG artist
www.vol2nuit.fr


-- -- Original Message -- --
From: "Bernard Lebel" <softimage@(protected)>
To: <XSI@(protected)>
Sent: Monday, February 28, 2005 12:28 AM
Subject: Re: Scripting : How to know if a CnxPoint is connected ?


> Check the source property of parameter:
>
> if( !oParameter.source )
> {
> logmessage( "Nothing connected" );
> }
> else
> {
> logmessage( "Parameter source: " + oParameter.source );
> }
>
>
> Cheers
> Bernard
>
>
>
> Guillaume Laforge wrote:
>> Hi,
>>  - I found how to know if an illumination shader parameter is > 0 :
>>
>>     ex :    if( oShaderEnum.item().parameters( "reflectivity" ).red.value
>>  > 0 )
>>                 { blablabla }
>>                 if( oShaderEnum.item().parameters(
>> "reflectivity" ).green.value > 0 )
>>                 { blablabla }
>>                 if( oShaderEnum.item().parameters(
>> "reflectivity" ).blue.value > 0 )
>>                 { blablabla }
>>
>> - I found how to know if the parameter is checked :
>>
>>     ex :    if( oShaderEnum.item().parameters( "reflect_inuse" ).value ==
>> true )
>>                 { blablabla }
>>
>>  - But how to know if a parameter is connected to an other shader ?
>>
>>   Something like this : ex :    if( oShaderEnum.item().parameters(
>> "reflect_inuse" ).CnxPoint == true )
>>             { blablabla }
>>
>>
>> Cheers,
>>
>> Guillaume Laforge
>> CG artist
>> www.vol2nuit.fr <http://www.vol2nuit.fr>
>>
>
>
> ---
> Unsubscribe? Mail Majordomo@(protected) with the following text in body:
> unsubscribe xsi
>



---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi