Customizing Lighting Setups > <lightscenes> Element
  
<lightscenes> Element
The <lightscenes> element defines all lighting setups in the Creo ViewLighting Setup list. It contains one or more child <lightscene> elements. The <lightscenes> element has no attributes. An XML file can contain only one <lightscenes> element.
<lightscenes> Syntax
<lightscenes>
<lightscene />
<lightscene />

<lightscene />
</lightscenes>
<lightscenes> Child Elements
<lightscene>
Lighting setup element. Contains the properties for one lighting setup. (See <lightscene> Element.)
<lightscenes> Example
The <lightscenes> element below creates two lighting setups in the Lighting Setup list:
DEFSingle—A single-light setup with one key light and a predefined localized name.
TwoLights—A two-light setup with one key light and one fill light and a custom non-localized name.
<lightscenes>
<lightscene>
<name locid="DEFSingle"/>
<light name="key" type="direct" relative="view" />
<color />
<direction />
</lightscene>
<lightscene>
<name>TwoLights</name>
<light name="key" type="direct" relative="view" />
<color />
<direction />
<light name="fill" type="direct" relative="view" />
<color />
<direction />
</lightscene>
</lightscenes>