RVTDocs.com

RebarBarType.SetHookOffsetLength

Method
Description:
Identifies the hook offset length for a hook type
Remarks:
AutoCalcHookLengths is ignored when this property is set
Syntax
public void SetHookOffsetLength(
	ElementId hookId,
	double newLength
)
Parameters
Parameter Type Description
hookId ElementId id of the hook type
newLength Double The hook offset length for a hook type
Return Value
Exceptions
Exception Condition
ArgumentException the rebar hook type id hookId is not valid -or- the hook specified by id hookId doesn't have valid offset length
ArgumentNullException A non-optional argument was null