get.attr.gdsn: Get attributes

View source: R/gdsfmt-main.r

get.attr.gdsnR 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

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)

zhengxwen/gdsfmt documentation built on April 11, 2024, 3:19 a.m.