RebarSpliceUtils.SpliceRebar
Description:
Splice a Rebar with a line.
Splice a Rebar with a line.
Remarks:
This method uses the view normal in case of a 2D view and the current workplane normal in case of a 3D view.
If the view normal is parallel with the bar plane normal the bounded line will be used to calculate the splice geometries where the bar will be split.
Otherwise, the line will be extended to exceed the bounding box of the bar.
Overloads (3):
SpliceRebar(Document,ElementId,RebarSpliceOptions,Line,ElementId)
-
documentThe document
-
rebarIdToSplitRebar id to split.
-
spliceOptionsThe rebar splice options.
-
lineThe line used for splice.
-
viewIdBased on the view it will be determined the plane of the line.
-
Free Form Rebars, or Shape Driven Rebars that are Multiplanar or have a shape that whose definition is RebarShapeDefinitionByArc can't be spliced. Also, if the Rebar is member of a Group it cannot be spliced. -or- The rebar cannot be spliced with the provided line.
-
A non-optional argument was null