Thanks Jo,

That was more a thinking I had rather than a real intention to do it... I'm
looking for different way to organize my code. Thanks for the advice !

On 11 July 2012 12:10, jo benayoun <[email protected]> wrote:

> Hey Jeremie,
> considering the COM architecture (interfaces inheritance) + the python
> binding (dynamically invoking), this is really a bad idea to even think to
> inheritance...  The most easiest and elegant way that I think of is to
> wrap the desired object into a class.
> On another hand, you're able to inherit some classes of the C++ API (even
> if its not recommended and limited) and create a python binding to it using
> the Python API.  Not even sure, you will get what you're looking for.
> =(
> -- Jo
>
>
>
>
>
>
>
> 2012/7/10 Jeremie Passerin <[email protected]>
>
>> Hi list,
>>
>> I'm pretty sure I know the answer to that one but just wondering.
>> Do we have a way in Python to create a class that inherits from a class
>> of the softimage SDK ?
>>
>>  Let's say I want to extend the SIVector3 or the Null object ?
>>
>> Any chance I could do something like that  ?
>>
>> class mySIVector3( SIVector3 )
>> or
>> class myCustomNull( Null )
>>
>>
>> Jeremie
>>
>
>

Reply via email to