Retrieves the properties of the specified layer in the selected layer builder object. There needs to be a layer builder object selected.
Syntax |
Description |
---|---|
getlayer("layer name", "property name"); |
Retrieves the value of the specified property ("property name") of the specified layer ("layer name") in the selected layer builder object. |
Example
# Create a layer builder object addlayerbuilder; # Add a layer and set the layer's thickness to 100 nm addlayer("layer_1"); setlayer("layer_1","thickness",1e-7); # Retrieve the thickness of layer_1 ?getlayer("layer_1","thickness"); result: 1e-07
Please refer to this example for more details.
See Also
addlayerbuilder , getlayerlist , setlayer , loadgdsfile , addlayer , getcelllist , getlayerlist