sel.node.collection

Syntax

i = sel.node.collection(snp)

Get the ID number of a node collection from a given node. A collection refers to a single contiguous structural element, usually created with a single command.

Returns:i - collection ID number
Arguments:snp - node pointer