Checks that the hook angle of the specified RebarHookType matches the hook angle used in the Rebar's RebarShape at the specified end of the bar.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:
2014
Syntax
C# |
---|
public bool HookAngleMatchesRebarShapeDefinition(
int iEnd,
ElementId proposedHookId
) |
Visual Basic |
---|
Public Function HookAngleMatchesRebarShapeDefinition ( _
iEnd As Integer, _
proposedHookId As ElementId _
) As Boolean |
Visual C++ |
---|
public:
bool HookAngleMatchesRebarShapeDefinition(
int iEnd,
ElementId^ proposedHookId
) |
Parameters
- iEnd
- Type: System..::..Int32
0 for the start hook, 1 for the end hook.
- proposedHookId
- Type: Autodesk.Revit.DB..::..ElementId
The Id of the RebarHookType
Return Value
Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.
Remarks
Exceptions
See Also