2026 Method
Changes 8
M

RebarShape.IsSameShapeIgnoringHooks

Description:
Test whether two shapes have equivalent definitions by comparing the RebarShapeDefinition and MultiplanarDefinition properties.
Remarks:
This method will return true if the definitions are exactly equivalent. The hooks, cranks, end treatments, orientations and terminations' rotation angles are ignored.
[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.IsSameShapeIgnoringTerminations instead.")]
public bool IsSameShapeIgnoringHooks(
	RebarShape otherShape
)
  • otherShape
    Another shape to be compared to this one.
Return Value Boolean True if the shape definitions match, false otherwise.