RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Element

Element.GroupId

Property
Description:
The id of the group to which an element belongs.
Syntax
public ElementId GroupId { get; }