Different simulation objects have different parameters that needs to be set while creating a project file. For example, when creating a simple rectangle, some of the parameters that can be set are ‘name’, ‘x’, ‘y’, ‘z’, ‘x span’ and so on. On the other hand, when setting a solver region (say in FDTD), the parameters could be ‘dimension’, ‘mesh accuracy’, ‘x’, ‘y span’ and so on. It is thus very important to be able to check what options (parameters) are available for each simulation object.
Luckily, there is a very simple way to check this though the ‘set’ and ‘setnamed’ commands. Usually, these commands can be used to set the parameters of an object. However, if you add a question mark (?) at the beginning of the command, then a list of all the parameters belonging to that object is printed in the script prompt window.
For example, if you select a rectangle and write ?set; the script prompt will show the following,
grid attribute name
override color opacity from material database
override mesh order from material database
set color opacity from material database
set mesh order from material database