DefinitionGroups
A specialized set of definition groups that allows creation of new groups.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.DefinitionGroups
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class DefinitionGroups : IEnumerable<DefinitionGroup>, IDisposable
The DefinitionGroups type exposes the following members.
Properties
Name
Description
Public Property
IsEmpty
Identifies if the definition groups collection is empty.
Public Property
Item
Retrieve a definition group by name.
Public Property
Size
The number of definition groups in the collection.
Methods
Name
Description
Public Method
Contains
Tests for the existence of a definition group within the collection.
Public Method
Create
Create a new parameter definition group using the name provided.
Public Method
Dispose
Releases all resources used by the DefinitionGroups
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected Method
GetBasicIEnumerator
Returns an enumerator that iterates through a collection.
Public Method
GetEnumerator
Retrieves an enumerator to the collection.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)