and to find the expression from the parameter:
expr = parameters.Source

2012/12/6 Eric Thivierge <[email protected]>

> You'll have to find all expressions:
>
> collExpressions = xsi.FindObjects2(c.siExpressionID)
>
> for eachExpr in collExpressions:
>     log(eachExpr.Parameters("Definition").Value)
>
> You'll need to test the Definition parameter's value to see if the full
> path to that parameter on your custom property has in the definition
> string. I believe that is the way to go about it.
>
> --------------------------------------------
> Eric Thivierge
> http://www.ethivierge.com
>
>
>
> On Thu, Dec 6, 2012 at 2:54 PM, Orlando Esponda <[email protected]
> > wrote:
>
>> Hello guys,
>>
>> Let's say I have a custom property with a custom parameter. This custom
>> parameter is driving something in the scene, let's say the amplitude of a
>> Push Op applied to x object. Is there a way to get this "connection" via
>> scripting from the custom parameter?
>>
>> In the Push Op there should be an Expression that "connects" the amplitud
>> to the custom parameter, but if I don't know what parameters are being
>> driven (if any) by this custom parameter, is there a way to get them with
>> scripting?
>>
>>
>> Thanks for any comment/idea,
>>
>> Orlando.
>>
>> --
>> IMPRESSUM:
>> PiXABLE STUDIOS GmbH & Co.KG, Sitz: Dresden, Amtsgericht: Dresden, HRA
>> 6857,
>> Komplementärin: Lenhard & Barth Verwaltungsgesellschaft mbH, Sitz:
>> Dresden,
>> Amtsgericht: Dresden, HRB 26501, Geschäftsführer: Frank Lenhard, Tino
>> Barth
>>
>> IMPRINT:
>> PiXABLE STUDIOS GmbH & Co.KG, Domicile: Dresden, Court of Registery:
>> Dresden,
>> Company Registration Number: HRA 6857, General Partner: Lenhard & Barth
>> Verwaltungsgesellschaft mbH, Domicile: Dresden, Court of Registery:
>> Dresden, Company
>> Registration Number: HRB 26501, Chief Executive Officers: Frank Lenhard,
>> Tino Barth
>>
>>
>> --
>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>> Informationen. Wenn Sie nicht
>> der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
>> informieren Sie bitte
>> sofort den Absender und vernichten Sie diese Mail. Das unerlaubte
>> Kopieren sowie die
>> unbefugte Weitergabe dieser Mail ist nicht gestattet.
>>
>> This e-mail may contain confidential and/or privileged information. If
>> you are not the intended
>> recipient (or have received this e-mail in error) please notify the
>> sender immediately and destroy
>> this e-mail. Any unauthorized copying, disclosure or distribution of the
>> material in this e-mail is
>> strictly forbidden.
>
>
>


-- 
Ahmidou Lyazidi
Director | TD | CG artist
http://vimeo.com/ahmidou/videos

Reply via email to