Current State to Object of a Subdivision Surface



  • I want to convert a SDS with a Cube as a child, to one polygon object.
    Thus I select the SDS and do a "Current State to Object".

    However, the resulting object does not seem to take the Subdivision Editor settings into account.

    See below picture.
    On top the SDS + Cube, below the result of the CSTO.

    e23780aa-455d-4f14-8ec7-803822f423cb-image.png

    Using python gave me the same issue

        objList = c4d.utils.SendModelingCommand(
            command = c4d.MCOMMAND_CURRENTSTATETOOBJECT,
            list = [op],              # op.GetClone() did not help
            mode = c4d.MODELINGCOMMANDMODE_ALL,
            doc = doc,
            )       
    
        doc.InsertObject(objList[0])
        c4d.EventAdd()
    

    And AliasTrans did not seem to help.

        trans = c4d.AliasTrans()
        if not trans or not trans.Init(doc):
            return False
        opClone = op.GetClone(c4d.COPYFLAGS_NONE, trans)
        trans.Translate(True)
                              
        objList = c4d.utils.SendModelingCommand(
            command = c4d.MCOMMAND_CURRENTSTATETOOBJECT,
            list = [opClone],
            mode = c4d.MODELINGCOMMANDMODE_ALL,
            doc = doc,
            )       
    
        doc.InsertObject(objList[0])
        c4d.EventAdd()
    


  • @pim said in Current State to Object of a Subdivision Surface:

    SendModelingCommand

    Oops, I see Subdivision Renderer setting and not Subdivision Editor setting is taken into account.


Log in to reply