spnGetGrpName: Get the group name by index in the top tab/spec-tree

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the group name with an index GrpIdx in the top tab/spec-tree

Usage

1
spnGetGrpName(GrpIdx)

Arguments

GrpIdx

- the index(integer) of the spec-group in the top tab/spec-tree. Use GrpIdx=0 for active group. If GrpIdx="*" or "<ALL>" gets back a comma-separated list of all groups names.

Value

spnGetSpcCount returns name(character string) of spec-group with GrpIdx index.

Author(s)

Teodor Krastev

See Also

spnGetSpcName

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Initialization of Spectrino
spnNew() 

# generate test set
spnOpenTree("<test>")

# the name of second spec-group
s1 <- spnGetGrpName(2) 

# the name of the active group
s2 <- spnGetGrpName(0)

# Release of Spectrino
#spnFree(TRUE)

spectrino documentation built on June 4, 2019, 1:02 a.m.