Adds an assembly group to the simulation environment.
|
Syntax |
Description |
|---|---|
|
addassemblygroup; |
Adds an assembly group to the simulation environment. This function does not return any data. |
| addassemblygroup(struct_data); |
Adds an assembly group and set its property using a struct containing "property" and value pairs. See the struct script command page for an example. This function does not return any data. |
Example
Add an assembly group made of 4 circles, 2 of 500nm radius, 2 of 1um radius.
addassemblygroup({"name": "assembly_grp"});
addcircle;
addtogroup("assembly_grp");
setnamed("assembly_grp", "parameters", {"x", "y", "radius"});
mapping = [0, 2, 0, 1;
0, 0, 2, 1;
1, 0.5, 0.5, 1]*1e-6;
setnamed("assembly_grp", "mapping", mapping);
See Also
List of commands , addtogroup , adduserprop , addgroup , addanalysisgroup , addstructuregroup , set