RebarSpliceUtils.GetSpliceGeometries
Description:
Computes a list of RebarSpliceGeometry which respects the rules. This list can be used to splice the Rebar.
Computes a list of RebarSpliceGeometry which respects the rules. This list can be used to splice the Rebar.
public static RebarSpliceByRulesResult GetSpliceGeometries(
Document document,
ElementId rebarIdToSplit,
RebarSpliceOptions spliceOptions,
RebarSpliceRules spliceRules
)
-
documentThe document
-
rebarIdToSplitRebar id to split.
-
spliceOptionsThe rebar splice options.
-
spliceRulesThe splice rules.
Return Value
RebarSpliceByRulesResult
Returns the result of the operation. If the operation was successful the RebarSpliceByRulesResult.Error member will have "RebarSpliceByRulesError.Success" value.
-
RebarSplicePosition should be Middle.
-
A non-optional argument was null