Share

Rebar.GetHookTypeId Method

Get the id of the RebarHookType that is applied to the rebar.


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public ElementId GetHookTypeId(
	int end
)

Parameters

end  Int32
0 for the start hook, 1 for the end hook.

Return Value

ElementId
The id of a RebarHookType, or invalidElementId if the rebar has no hook at the specified end.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException end must be 0 or 1.

See Also

Reference

Was this information helpful?