PulldownButtonData Constructor


Pulldown Button Data Constructor

Constructs a new instance of PulldownButtonData.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public PulldownButtonData(
	string name,
	string text
)

Parameters

name String
The internal name of the new button.
text String
Exceptions
Exception Condition
ArgumentNullException Thrown when is passed for one or more arguments.
ArgumentException Thrown when an empty string is passed for one or more arguments.
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 →