unload.gdsn: Unload a GDS node

View source: R/gdsfmt-main.r

unload.gdsnR Documentation

Unload a GDS node

Description

Unload a specified GDS node.

Usage

unload.gdsn(node)

Arguments

node

an object of class gdsn.class, a GDS node

Value

None.

Author(s)

Xiuwen Zheng

See Also

delete.gdsn

Examples

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

# add a list to "test.gds"
node <- add.gdsn(f, "val", 1:1000)
node

## Not run: 
unload.gdsn(node)
node  # Error: Invalid GDS node object (it was unloaded or deleted).

## End(Not run)

index.gdsn(f, "val")

# close the GDS file
closefn.gds(f)

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

zhengxwen/gdsfmt documentation built on Nov. 19, 2024, 1:03 p.m.