Me need to add rebman.SetPreferredConstraintForHandle(hnd, constr); after SetDistance and its work.
Also changing RebarConstraintsManager.IsRebarConstrainedPlacementEnabled is not necessary.
Me need to add rebman.SetPreferredConstraintForHandle(hnd, constr); after SetDistance and its work.
Also changing RebarConstraintsManager.IsRebarConstrainedPlacementEnabled is not necessary.