I'd say you can put everything into the __init__() method. If I see it
correctly, then you do not return anything from create_me() and you do not give
create_me() additional arguments. The class is (at the moment) useless without
the create_me(). So you can call create_me() from the __init__() method what
would create your geometry automatically if you call:
legControl = Control('L_leg1_control', 'box', 2)
Without the need to call another method.
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/1b068a43-6fd3-40b4-b23e-9c2eb15067bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.