Rebar.ContainsValidArcRadiiForStyleAndBarType
Description:
Checks that all arcs in the chain of curves have radii that are not less than minimum bend radius for bar type and style
Checks that all arcs in the chain of curves have radii that are not less than minimum bend radius for bar type and style
public static bool ContainsValidArcRadiiForStyleAndBarType(
IList<Curve> curves,
RebarStyle style,
RebarBarType barType
)
-
IList<Curve>curvesAn array of curves intended to define the shape of the rebar curves. Bends, hooks and cranks should not be included in the array of curves.
-
styleThe usage of the bar, "standard" or "stirrup/tie".
-
barTypeA RebarBarType element that defines bar diameter, bend radius and material of the rebar.
Return Value
Boolean
Returns true if all arc bend radii are not less than minimum bend radius for bar type and style
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration