RVTDocs.com

LightGroupManager.CreateGroup

Method
Description:
Create a new LightGroup object with the given name
Syntax
public LightGroup CreateGroup(
	string name
)
Parameters
Parameter Type Description
name String The name to use for the new LightGroup object
Return Value
Type Description
LightGroup The new LightGroup object that was created
Exceptions
Exception Condition
ArgumentException The name is not valid because it is not unique within this LightGroupManager -or- name cannot include prohibited characters, such as "{, }, [, ], |, ;, less-than sign, greater-than sign, ?, `, ~".
ArgumentNullException A non-optional argument was null