Item Property


Retrieve a definition group by name.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public DefinitionGroup this[
	string groupName
] { get; }
Visual Basic
Public ReadOnly Property Item ( _
	groupName As String _
) As DefinitionGroup
	Get
Visual C++
public:
property DefinitionGroup^ Item[String^ groupName] {
	DefinitionGroup^ get (String^ groupName);
}

Parameters

groupName
Type: System String
The name of the group for which to search.

Remarks

If the group is not found then a null reference ( Nothing in Visual Basic) will be returned.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →