Excommunication of parents for sins of children?

Can parents be denied holy sacraments like eucharist if their child takes a same sex marriage or married to a non catholic but christian or non christian? If yes is this excommunication?

Parents are not punished for the choices or sins of their children.

DISCLAIMER: The views and opinions expressed in these forums do not necessarily reflect those of Catholic Answers. For official apologetics resources please visit www.catholic.com.