GetTrussMemberInfo Method


Truss Get Truss Member Info Method

Query if a given element is a member of a truss, its lock status and its usage, etc.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public TrussMemberInfo GetTrussMemberInfo(
	ElementId elemId
)

Parameters

elemId ElementId
The querying element.

Return Value

TrussMemberInfo
A struct TrussMemberInfo that contains the querying element's host truss, whether to lock to the truss, usage type, etc.
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 →