Ex 17: A copy of the bulk scatter sample file (…\Non-sequential\Scattering\Bulk scatter.zos) is created from scratch. The volume scattering profile is set on a rectangular volume. Both a shaded model and a detector viewer are opened with user-defined settings (rotating the XYZ orientation) via the ModifySettings() method. A non-sequential ray trace with scattering enabled is performed. Note that to observe scattering in the created ZMX file, the Scatter NSC Rays setting will have to be manually checked in the NSC Shaded Model.