KeyShot Forum

Technical discussions => Extending KeyShot => Scripting => Topic started by: mattjgerard on April 30, 2018, 08:22:22 am

Title: Save BIP or KSP of studios
Post by: mattjgerard on April 30, 2018, 08:22:22 am
I routinely run into projects where I am organizing dozens of similar products , resulting in dozens of studios each with its own model set, camera and environment. Wold there be a way to script the output of a single BIP or KSP file for each Studio? Our archiving system requires that each render is paired with its source file (KSP normally) and i would ideally like to have each KSP file only include the assets for that  image. Similar to the Export LAYERS To Files script in photoshop.

If this is possible, I want to use this as a chance to learn python and scripting for Keyshot, but if its not possible, I will use my time to look for another solution.

If I was writing this in my own made up scripting language it would look like this-


10     Export current Studio *include active camera, environment* fileformat (.ksp)
20     Export Filename use current studioname
30     Export location same as current
40      if last studio = false activate next studio, goto line 10
50      if last studio = true end

Title: Re: Save BIP or KSP of studios
Post by: Furniture_Guy on April 30, 2018, 08:48:26 am
I will follow this post with great interest! I've never wanted to learn scripting until KeyShot...

Perry (Furniture_Guy)