Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Adding Objects

addmovie

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

Adds a movie monitor to the simulation environment.  Movie monitors capture a desired field component over the region spanned by the monitor for the duration of the simulation.

 

Supported Product: FDTD, MODE

 

Syntax

Description

addmovie;

Adds a movie monitor to the simulation environment.

This function does not return any data.

 

Example

The following script commands will add a 2D z-normal movie monitor to the simulation region, set its location and dimension, and set its resolution while keeping the aspect ratio locked.  Locking the aspect ratio ensures that the video will keep the shape of the monitor data.

addmovie;

set("name","movie_1");

set("monitor type",3);  # 1 = 2D x-normal,  2 = 3D y-normal,  3 = 2D z-normal

set("x",0);

set("x span",5e-6);

set("y",0);

set("y span",5e-6);

set("z",0);

set("lock aspect ratio",1);

set("horizontal resolution",240);

 

See Also

Adding Objects, set

Copyright Lumerical Inc. | Privacy | Site Map