RVTDocs.com

RebarShape.IsSameShapeIgnoringHooks

Method
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, or if they are equivalent but have the opposite start/end orientation. Replaces the property RebarShape.SameShapeIgnoringHooks from prior releases.
Syntax
Parameters
Parameter Type Description
otherShape RebarShape Another shape to be compared to this one.
Return Value
Type Description
Boolean True if the shape definitions match, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null