M

RebarSpliceTypeUtils.SetShiftOption

Description:
Sets the way bars are shifted in the splice relation.
public static void SetShiftOption(
	Document document,
	ElementId rebarSpliceTypeId,
	RebarSpliceShiftOption shiftOption
)
  • The rebarSpliceTypeId doesn't represent a valid Rebar Splice Type. It should be an ElementType of BuiltInCategory.OST_RebarSpliceType category.
  • A non-optional argument was null
  • A value passed for an enumeration argument is not a member of that enumeration