Create Method


Definitions Create Method

Creates a new parameter definition using specified options.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Definition Create(
	ExternalDefinitionCreationOptions option
)

Parameters

option ExternalDefinitionCreationOptions
The options used to create the new parameter definition.

Return Value

Definition
If successful a reference to the new parameter definition is returned, otherwise .
Remarks
This method only supports creation of new external definitions (shared parameters).
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →