# Type name of USD lights

**URL:** <https://forum.aousd.org/t/type-name-of-usd-lights/656>\
**Category:** USD\
**Created:** [September 14, 2023, 2:22am UTC](https://forum.aousd.org/t/type-name-of-usd-lights/656 "2023-09-14T02:22:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GreatWhite](https://avatars.discourse-cdn.com/v4/letter/g/bbe5ce/32.png) [@GreatWhite](https://forum.aousd.org/u/GreatWhite)\
**Post date:** [September 14, 2023, 2:22am UTC](https://forum.aousd.org/t/type-name-of-usd-lights/656/1 "2023-09-14T02:22:21Z")

</div>

Hi experts,  
As we known, the type name of rect light in USD file is “RectLight”.  
But I find a model, in this model, the type name of rect light is “UsdLuxRectLight”. Is this name the old type name of rect light? or it’s just an error?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/aousd/original/1X/e8e5599eb655fd45b74a46341d02c217cf00c370.png)  
Thanks!

---

<div class="post-metadata">

**Author:** ![dhruvgovil](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/dhruvgovil/32/3_2.png) [@dhruvgovil](https://forum.aousd.org/u/dhruvgovil)\
**Post date:** [September 14, 2023, 3:32am UTC](https://forum.aousd.org/t/type-name-of-usd-lights/656/2 "2023-09-14T03:32:57Z")

</div>

That does look wrong and like it was created without using the OpenUSD API. Do you know what created it?

---

<div class="post-metadata">

**Author:** ![spiff](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/spiff/32/22_2.png) [@spiff](https://forum.aousd.org/u/spiff)\
**Post date:** [September 14, 2023, 3:48am UTC](https://forum.aousd.org/t/type-name-of-usd-lights/656/3 "2023-09-14T03:48:34Z")

</div>

That’s an error in modern usd… four or so years ago we were accommodating about allowing the C++ class name to be used rather than the usd schema name, but class names can be brittle, and it’s confusing to have two different ways to refer to the same schema, so we disabled that alias.

Do you know where that snippet came from? It must be quite old as it predates the 2021 move of all light properties to be in the “inputs:” namespace.

---

<div class="post-metadata">

**Author:** ![GreatWhite](https://avatars.discourse-cdn.com/v4/letter/g/bbe5ce/32.png) [@GreatWhite](https://forum.aousd.org/u/GreatWhite)\
**Post date:** [September 14, 2023, 5:35am UTC](https://forum.aousd.org/t/type-name-of-usd-lights/656/4 "2023-09-14T05:35:34Z")

</div>

Thanks, it’s downloaded from internet, and I can’t find the website now.

---

<div class="post-metadata">

**Author:** ![GreatWhite](https://avatars.discourse-cdn.com/v4/letter/g/bbe5ce/32.png) [@GreatWhite](https://forum.aousd.org/u/GreatWhite)\
**Post date:** [September 14, 2023, 5:36am UTC](https://forum.aousd.org/t/type-name-of-usd-lights/656/5 "2023-09-14T05:36:53Z")

</div>

Thank you for the information. The model is downloaded from internet, and I can’t find the website now.
