If you have been using LightTools a while, you may notice that there are settings or controls that you toggle frequently, or a sequence of steps that you enter repeatedly. In these situations, you could consider creating a custom script file to act as an alias for a longer command or a sequence of commands. In this section, we’ll describe how you can define this alias as a LightTools script.
For example, many operations require a vertex point, followed by a z-axis direction and y-axis direction. One such operation is when you add a ray data source into your model. To define the object starting at the global origin, pointing along the global z-axis, with a y-axis aligned with the global y-axis, you would enter: