Hi please see the photo. The picture was taken in our guest bathroom. This is the sink vent pipe. This is inside the ferndown, below the attic. We are removing the ferndowns in this bathroom remodel but see it here. I want to run that vent pipe straight up through that top plate the arrow is pointing to. I am pulling down the ferndown and don't want to see that pipe. This is not a load bearing wall. I will put the 45 in the attic, not in the bathroom. Is it within code to do this?