M

RebarSpliceUtils.CanRebarBeSpliced

Description:
Verifies if the rebar can be spliced with the provided line.
Remarks:

If the provided linePlaneNormal is parallel with the bar plane normal the bounded line will be used to calculate the splice geometries where the bar will be spliced.

Otherwise, the line will be extended to exceed the bounding box of the bar.

public static RebarSpliceError CanRebarBeSpliced(
	Rebar rebar,
	RebarSpliceOptions spliceOptions,
	Line line,
	XYZ linePlaneNormal
)
  • rebar
    The rebar to be spliced.
  • spliceOptions
    The RebarSpliceOptions.
  • line
    The line to splice the rebar with.
  • linePlaneNormal
    The normal that determines the plane of the line.
Return Value RebarSpliceError Will return RebarSpliceError.Success if it's possible to splice with line or other enum value corresponding to the error that occurred.