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

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 →