KeyShot Forum

Archive => Support Archive => Topic started by: mike_b on August 03, 2017, 12:00:38 PM

Title: lux.setMaterialTemplate crashes KeyShot 7
Post by: mike_b on August 03, 2017, 12:00:38 PM
Hi,

I'm using Keyshot 7 on Windows 10.

Any use of lux.setMaterialTemplate crashes Keyshot 7, either in the Script Console, or in a script itself. I used the following steps to reproduce the problem at the most basic level. The following steps work on Keyshot 6.3, but crash Keyshot 7.

Steps:
1. Open Keyshot.
2. File -> New
3. In Material Templates, create a new template called 'Test' using New Template -> Add Template - Automatic -> Part.
4. Open the Scripting Console and type:  lux.setMaterialTemplate('Test')

In Keyshot 6, this returns 'True'. In Keyshot 7, it crashes.

Regards,
Mike
Title: Re: lux.setMaterialTemplate crashes KeyShot 7
Post by: DriesV on August 03, 2017, 02:49:34 PM
Hi Mike,

Thank you for reporting.
We will look into it.

Dries
Title: Re: lux.setMaterialTemplate crashes KeyShot 7
Post by: DriesV on August 04, 2017, 12:59:08 AM
Hi Mike,

This has been fixed in the next update.

Dries
Title: Re: lux.setMaterialTemplate crashes KeyShot 7
Post by: mike_b on August 04, 2017, 07:45:04 AM
Dries,

Thank you, looking forward to it!

-Mike