RE: Connecting a specific custom property to a SCOP group

Date : Tue, 1 Aug 2006 06:07:56 -0400
To : <XSI(at)Softimage.COM>
From : "Stephen Blair" <Stephen_Blair(at)Softimage.COM>
Subject : RE: Connecting a specific custom property to a SCOP group
Hi Andy

I'll set you up so you can edit. I'll e-mail you later off-list.

We've been protecting pages because of spammers.

Steve

-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf
Of Andy Nicholas
Sent: Tuesday, August 01, 2006 6:02 AM
To: XSI(at)Softimage.COM
Subject: Re: Connecting a specific custom property to a SCOP group

Thanks loads for that, I didn't know about the "UpdateConnectOnOp"
command. Frustratingly, it doesn't seem to have any references to it in
the docs apart from the single page documenting the command and in the
list of commands, so I'm not surprised I hadn't seen it before.

BTW, I had a look at trying to add it to the Operators Wiki page that
you linked me to, but the page seems to be protected. I also noticed
from the page history that you'd made a contribution to that page; did
you have to make a request to Soft to get permission to make the
alteration?

Andy


> Hi Andy,
>
> If you're writing a Self-Installable Custom Operator, there's a 
> limitation on the ConnectToGroup method where you can only connect one

> object to a portgroup at a time... It's quite annoying.
> The other way around this is to use the UpdateConnectOnOp command to 
> connect whatever you need to the port group (thanks to Jonathan Mc 
> Dermott for that!).
> You can also have a look at
> http://softimage.wiki.avid.com/index.php/Custom_Operators_%28XSISDK%29
> A lot of useful info there!
>
> Cheers,
>
> Aloys
>
> On 7/31/06, Andy Nicholas <andy(at)andynicholas.com> wrote:
>>
>> Brill. Thanks for your help guys :-)
>>
>>
>> > Hi Andy,
>> >
>> > Testing my memory here, but I think the fix to this is to make to 
>> > your two in ports seperate groups. (i.e. one group per port).
>> >
>> > Cheers,
>> >
>> > Alan.
>> >
>> > On 7/31/06, Andy Nicholas <andy(at)andynicholas.com> wrote:
>> >> Hi guys,
>> >>
>> >> I'm having a major problem trying to connect a specific custom
>> property
>> >> to
>> >> a scripted operator. My ports look like this:
>> >>
>> >> <obj>.kine.global   (IN)
>> >> <obj>.MyProperty    (IN)
>> >> <obj>.kine.global   (OUT)
>> >>
>> >> When I first create the operator, it's not a problem to specify 
>> >> the exact connections because I use the ApplyOperator command like

>> >> this:
>> >>
>> >> ApplyOperator("KineOperator",
>> >>               
>> >> "[sphere.kine.global,sphere.MyProperty,sphere.kine.global
>> ]");
>> >>
>> >> This allows me to specify the custom property "MyProperty" to be
>> used.
>> >> If
>> >> I don't do that, I have the problem where it will just connect to 
>> >> the first CustomProperty that exists underneath the object, rather

>> >> than
>> the
>> >> one I want it to connect to.
>> >>
>> >> My issue, is that I want to be able to connect multiple objects to
>> this
>> >> operator. So I want to be able to do this:
>> >>
>> >> operator.ConnectToGroup(0, box_obj);
>> >>
>> >> to connect other objects to the same operator after I've created
it.
>> >>
>> >> The problem with this, is that I'm not able to specify the exact 
>> >> connection set. As a result, the first custom property underneath 
>> >> the object gets connected instead of the one I want.
>> >>
>> >> Does anyone know of a way round this problem?
>> >>
>> >> BTW, my property is a self installed custom property. Is it 
>> >> possible
>> to
>> >> create a custom property with an SPDL? If I could, then I'd be 
>> >> able
>> to
>> >> specify the custom property's GUID in the port definition and all
>> would
>> >> be
>> >> fine.
>> >>
>> >> Thanks
>> >>
>> >> Andy
>> >>
>> >>
>> >>
>> >> ---
>> >> 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
>> >
>>
>>
>> ---
>> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
>> body:
>> unsubscribe xsi
>>
>
>
>
> --
> Aloys Baillet - XSI Technical Director Character Dpt - Animal Logic
> --
>


---
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.