get.attr.gdsn {gdsfmt} | R Documentation

## Get attributes

### Description

Get the attributes of a GDS node.

### Usage

    get.attr.gdsn(node)

### Arguments

`node` | an object of class `gdsn.class`, a GDS node

### Value

A list of attributes.

### Author(s)

Xiuwen Zheng

### References

http://github.com/zhengxwen/gdsfmt

### See Also

`put.attr.gdsn`, `delete.attr.gdsn`

### Examples

    # cteate a GDS file
    f <- createfn.gds("test.gds")

    node <- add.gdsn(f, "int", val=1:10000)
    put.attr.gdsn(node, "missing.value", 10000)

    f
    get.attr.gdsn(node)

    # close the GDS file
    closefn.gds(f)

    # delete the temporary file
    unlink("test.gds", force=TRUE)

[Package gdsfmt version 1.20.0 Index]