Yes, a violation can negatively affect your custody and visitation rights, as it reflects on your compliance with legal orders and your conduct.