IsGroup

Verifies the existence of a group.

Syntax

rhinocriptsyntax.IsGroup (group_name)

rhinocript.group.IsGroup (group_name)

Parameters

group_name

Required.  String.  The name of an existing group.

Returns

Boolean

True if successful, otherwise False.

Example

import rhinoscriptsyntax as rs

group = rs.GetString("Group name to verify")

if rs.IsGroup(group):

    print "The group exists."

else:

    print "The group does not exist."

Also See

AddGroup

DeleteGroup

GroupCount

GroupNames

RenameGroup