On 22/07/2015 at 04:12, xxxxxxxx wrote:
I made this codebit, I hoped for it to work:
#############
import c4d
#Welcome to the world of Python
def currentState(op) :
return c4d.utils.SendModelingCommand(command = c4d.MCOMMAND_CURRENTSTATETOOBJECT,list = [op])[0]
def main() :
child = op.GetDown()
polyobj = currentState(child)
return polyobj
#############
it does work however the actual object remains there. How can I make this work like a subdivision surface or an atom array where the children remains invisible while only the generated content is visible?