Remove Unused Materials1

Remove Unused Materials C4D Python Script

1

This post has already been read 2505 times!

Remove Unused Materials C4D Python Script

Here is a useful script removing all unused materials in scene with Cinema 4D Python

 

1 Comment

  1. anion
    anion04-16-2015

    import c4d
    from c4d import documents, plugins, gui

    def main():
    c4d.CallCommand(12168) # Remove Unused Materials
    c4d.CallCommand(12168) # Remove Unused Materials
    c4d.CallCommand(100004760) # Remove Unused Layers
    gui.MessageDialog(‘Materials and Layers Removed!’)

    if __name__==’__main__’:
    main()

Leave a Reply