public static bool IsValidSurfaceToConstraintHandleTo( RebarConstrainedHandle handle, Surface surface )
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
If the handle belongs to a free from rebar will return false.
If the input plane is almost perpendicular (the angle between surfaces is between 84 or 96 degrees) will return false.
If the input handle is Rebar Plane or Out Of Plane Extents and the surface isn't a plane will return false.
If the input handle is a segment of a bar whose shape has a RebarShapeDefinitionBySegments definition and the surface isn't a cylinder surface will return false.
For any other cases will return true