Author Topic: search for CoronaSun via maxscript?  (Read 1758 times)

2020-10-14, 21:55:30

FlorianW.

  • Active Users
  • **
  • Posts: 53
    • View Profile
Is it possible to search for CoronaSun's in a large array of lights?

I already can filter Coronalights via "class" and "superclass" but is there a specific way to extract a CoronaSun via maxscript?

Thanks in Advance!
3dsMax 2021 - Corona 5

2020-10-15, 08:12:09
Reply #1

Frood

  • Active Users
  • **
  • Posts: 2001
    • View Profile
    • Rakete GmbH
Same as with CoronaLights, class is just "CoronaSun":

Code: [Select]
for o in yourarray where (classof o==CoronaSun) collect o

Good Luck


Never underestimate the power of a well placed level one spell.

2020-11-28, 19:03:59
Reply #2

FlorianW.

  • Active Users
  • **
  • Posts: 53
    • View Profile
A little late, but thank you very much, works fine!

Cheers!
3dsMax 2021 - Corona 5