RVTDocs.com

Rebar.GetHookTypeId

Method
Description:
Get the id of the RebarHookType to be applied to the rebar.
Syntax
public ElementId GetHookTypeId(
	int end
)
Parameters
Parameter Type Description
end Int32 0 for the start hook, 1 for the end hook.
Return Value
Type Description
ElementId The id of a RebarHookType, or invalidElementId if the rebar has no hook at the specified end.
Exceptions
Exception Condition
ArgumentOutOfRangeException end must be 0 or 1.