Buy Now

Calling Arbitrary Sizzle Functions

< Previous | Contents | Manuals Home | Boris FX | Next >

โ€ŒCalling Arbitrary Sizzle Functions โ€Œ

You can easily call any function using obj.Call("function", args. ). For example,

msh.Call("ApplyCameraMap", cam)

dist = msh.Call("IntersectDistance", pos, [1,0,0]) # from vector pos along X

The argument-passing and return interface accommodates the python object None, strings, numbers, points, vectors, and transforms, as well as SynthEyes trackers, cameras/moving objects, phases, meshes, splines, lights, extra points, and notes.

Be sure to pass arguments with the correct type, ie don't pass the string "10" to an argument expecting a number. You must convert it to the correct type first, or the call will fail.

You'll receive a python object representing the return value, with any of the types above. Note that different python objects can represent the same Sizzle object.


ยฉ2026 Boris FX, Inc.ย โ€”ย UNOFFICIALย โ€”ย Converted from original PDF.


Subscribe to our newsletter

Get all the latest news, blog posts and product updates from Boris FX, delivered directly to your inbox.

In order to provide you with the content requested, we need to store and process your personal data. For more information on how to unsubscribe and our commitment to protecting your privacy, please review our Privacy Policy.

Welcome!

Thanks for opting-in to our newsletter. You'll receive an email momentarily with your confirmation.

Please select your language

The website is currently localized into the following languages