RVTDocs.com

RebarBarType.SetAutoCalcHookLengths

Method
Description:
Identifies if the hook lengths of a hook type are automatically calculated for this bar type
Syntax
public void SetAutoCalcHookLengths(
	ElementId hookId,
	bool autoCalculated
)
Parameters
Parameter Type Description
hookId ElementId id of the hook type
autoCalculated Boolean True if the hook lengths should be automatically calculated, otherwise false When it is false, default hook length and default hook offset length will be reported
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null