Element.GroupId Property

ElementGroupId Property

The id of the group to which an element belongs.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public ElementId GroupId { get; }
Public ReadOnly Property GroupId As ElementId
	Get
public:
property ElementId^ GroupId {
	ElementId^ get ();
}
member GroupId : ElementId with get

Property Value

ElementId
See Also