Create Method


Definition Groups Create Method

Create a new parameter definition group using the name provided.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public DefinitionGroup Create(
	string name
)

Parameters

name String
The name of the group to be created.

Return Value

DefinitionGroup
If successful a reference to the new parameter group is returned, otherwise .
Remarks
If a group with the same name already exists then an exception will be thrown.
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 →