Olarn's DevBlog

Search: inheritance


Extending Pymel's node types with 'Virtual Class'

Nov 29 2017 00:23

How would one go about extending pymel class? The first obvious solution was to simply inherit the nodetype. But due how pymel's node creation works, simple inheritance such as the following code below would not behave as expected.

>>full article

Managing constructor (__init__) calls in python multiple inheritance scenario

May 03 2018 04:08

Explicit calls to each base __init__ can be managed by using the following snippet.

>>full article

Page 1 of 1