FindByName Method


Asset Properties Find By Name Method

Gets the property with the given name.

Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public AssetProperty FindByName(
	string name
)

Parameters

name String
Name of the property.

Return Value

AssetProperty
The property with the specified name.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
FindByName will not visit the properties of any connected asset on any of the properties.
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 →