Verifies if the rebar can be spliced with the RebarSpliceGeometry.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static RebarSpliceError CanRebarBeSpliced(
Rebar rebar,
RebarSpliceOptions spliceOptions,
RebarSpliceGeometry spliceGeometry
)
Parameters
- rebar Rebar
-
The rebar to be spliced.
- spliceOptions RebarSpliceOptions
-
The RebarSpliceOptions.
- spliceGeometry RebarSpliceGeometry
-
The RebarSpliceGeometry.
Return Value
RebarSpliceError
Will return RebarSpliceError.Success if it's possible to splice with point or other enum value corresponding to the error that occurred.
Exceptions
See Also
Reference