KeyShotExport.py update script for ver 5 from Fusion:)

Started by FaragoDesign, June 03, 2014, 05:29:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FaragoDesign

    KeyShotExport.KeyShot.keyShotExport(plugin, tree, clipped, False)

    pDll.close_ks(ks_p)

    pDll.DeleteKeyShotPlugin(ks_p)

    if platform.system() == "Windows":
        aReg = winreg.ConnectRegistry(None, winreg.HKEY_CURRENT_USER)
        try:
            aKey = winreg.OpenKey(aReg, r"SOFTWARE\Luxion\KeyShot 5")
            path = winreg.QueryValueEx(aKey, "BinName")[0]
        except:
            path = "C:\\Program Files\\keyshot5_floating\\bin\\keyshot5_floating.exe"
    else:
        path = "/Applications/KeyShot5_floating.app/Contents/MacOS/keyshot5_floating"



Maintains color assignments on the part and assembly level - but not faces - hmmm

thomasteger