How to check the options/parameters available for a simulation object in script environment

script
simulationobject

#1

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,

?set;
alpha
color opacity
detail
enabled
first axis
grid attribute name
index
index units
material
mesh order
name
override color opacity from material database
override mesh order from material database
render type
rotation 1
rotation 2
rotation 3
second axis
set color opacity from material database
set mesh order from material database
third axis
x
x max
x min
x span
y
y max
y min
y span
z
z max
z min
z span


스크립트 환경에서 시뮬레이션 개체에 대해 사용가능한 옵션(파라미터)을 확인하는 방법
#2

The same convention applies for the ‘setcontact’ command in DEVICE.