Python Generator Type Name?

On 26/08/2016 at 03:14, xxxxxxxx wrote:

Does anyone know if the Python Generator has a type name? In Python Generator using results in:

print op.GetType()
\>>> 1023866

I know I can use 1023866 to make a Python Generator but is there no easy to remember name such as Onull or Ocube?


On 26/08/2016 at 05:21, xxxxxxxx wrote:

I searched for 1023866 in
C:\Program Files\MAXON\CINEMA 4D R17\frameworks\cinema.framework\source\
and found defined in opython.h

#define Opython 1023866

On 26/08/2016 at 06:02, xxxxxxxx wrote:

I couldn't find any Opython ID in vars(c4d) either so I guess it's just not set, I'll just stick to GetType().

On 29/08/2016 at 02:38, xxxxxxxx wrote:


we'll try to fix the missing symbol with one of the next updates.