Blogizm: Realflow Batch Script

  • I: REALFLOW BATCH SCRIPT SCENE TEMPLATE

    So I have been wanting to start a blog type of thingy where I can share things I have learned along the way in the industry. I have noticed a ton of things that I personally feel are wrong, but that is just my opinion. I am an avid OCD'r and I love naming conventions and keeping things labeled, color coordinated, and organized from the second I start anything.

    The first of many things I would like to share is a simple python script that I use every time I start a new Realflow project. The purpose of this script is to immediately set up a folder structure that will keep everything organized by object. Another thing to take note of is to turn off the "Add to Default Hub" option because in my opinion its just messy.

    #--------------------------------------------------
    # Name: batch_Scene_Template_v01
    # Author: William Salas, www.fa1lure.com
    # Date: September 15th, 2016
    # Version: 1.0
    #--------------------------------------------------

    #--------------------------------------------------
    # Scene Template v01
    #--------------------------------------------------

    scene.addGroup()
    group = scene.getGroup( "Group01")
    group.setName( "_CAMERAS" )

    scene.addGroup()
    group = scene.getGroup( "Group01")
    group.setName( "_DAEMONS" )

    scene.addGroup()
    group = scene.getGroup( "Group01")
    group.setName( "_DYVERSO" )

    scene.addGroup()
    group = scene.getGroup( "Group01")
    group.setName( "_EMITTERS" )

    scene.addGroup()
    group = scene.getGroup( "Group01")
    group.setName( "_GEOMETRY" )

    scene.addGroup()
    group = scene.getGroup( "Group01")
    group.setName( "_HYBRIDO" )

    scene.addGroup()
    group = scene.getGroup( "Group01")
    group.setName( "_MESHES" )

    scene.addGroup()
    group = scene.getGroup( "Group01")
    group.setName( "_REALWAVE" )