RVTDocs.com

Rebar.GetOverridableHookParameters

Method
Description:
Outputs the formula parameter ids defined in the RebarShape family which are associated with hook length and hook tangent length parameters.
Remarks:
Will throw an exception if the hook length override is not enabled.
Syntax
public void GetOverridableHookParameters(
	out ISet<ElementId> startHookLengthPrameters,
	out ISet<ElementId> startHookTangentLengthParameters,
	out ISet<ElementId> endHookLengthParameters,
	out ISet<ElementId> endHookTangentLengthParameters
)
Parameters
Parameter Type Description
startHookLengthPrameters ISet The formula parameter ids defined in the RebarShape family which are associated with start hook length parameters.
startHookTangentLengthParameters ISet The formula parameter ids defined in the RebarShape family which are associated with start hook tangent length parameters.
endHookLengthParameters ISet The formula parameter ids defined in the RebarShape family which are associated with end hook length parameters.
endHookTangentLengthParameters ISet The formula parameter ids defined in the RebarShape family which are associated with end hook tangent length parameters.
Return Value
Exceptions
Exception Condition
InvalidOperationException The ability to override hook lengths is not enabled for this rebar instance. Use enableHookLengthOverride(true) to enable it.