Author Topic: lux.setMaterialTemplate crashes KeyShot 7  (Read 1442 times)

0 Members and 1 Guest are viewing this topic.

Offline mike_b

  • Newbie
  • *
  • Posts: 2
lux.setMaterialTemplate crashes KeyShot 7
« 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

Offline DriesV

  • Administrator
  • Hero Member
  • *****
  • Posts: 2538
  • Product Specialist at Luxion
Re: lux.setMaterialTemplate crashes KeyShot 7
« Reply #1 on: August 03, 2017, 02:49:34 pm »
Hi Mike,

Thank you for reporting.
We will look into it.

Dries

Offline DriesV

  • Administrator
  • Hero Member
  • *****
  • Posts: 2538
  • Product Specialist at Luxion
Re: lux.setMaterialTemplate crashes KeyShot 7
« Reply #2 on: August 04, 2017, 12:59:08 am »
Hi Mike,

This has been fixed in the next update.

Dries

Offline mike_b

  • Newbie
  • *
  • Posts: 2
Re: lux.setMaterialTemplate crashes KeyShot 7
« Reply #3 on: August 04, 2017, 07:45:04 am »
Dries,

Thank you, looking forward to it!

-Mike