Revit 2025 API
Export |
Returns all the names of the settings instances in the document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static IList<string> ListNames( Document document )
Public Shared Function ListNames ( document As Document ) As IList(Of String)
public: static IList<String^>^ ListNames( Document^ document )
static member ListNames : document : Document -> IList<string>
Parameters
- document Document
- Document where the settings to be found.
Return Value
IListStringList of names.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also