Author Topic: KeyShotExport.py update script for ver 5 from Fusion:)  (Read 2979 times)

0 Members and 1 Guest are viewing this topic.

Offline FaragoDesign

  • Newbie
  • *
  • Posts: 25
KeyShotExport.py update script for ver 5 from Fusion:)
« on: June 03, 2014, 05:29:24 am »
    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
« Last Edit: June 03, 2014, 05:32:26 am by farago »

thomasteger

  • Guest
Re: KeyShotExport.py update script for ver 5 from Fusion:)
« Reply #1 on: June 03, 2014, 06:15:56 am »
We don't have support for Fusion in KeyShot 5.