The lower part of the uterus, called the cervix (neck), has two openings. One, the internal os (mouth) is the opening from the body of the uterus to the cervix. The second, the external os, is the opening of the cervix into the vaginal canal.
According to most opinions, only the internal os is relevant for determining whether you are a
niddah. No swab or cytobrush gets far enough to open that os. Even if it did, it is smaller than the minimum size which could render you
niddah due to opening of the uterus. Additionally, the bleeding from the Pap smear is clearly from a
wound, which would not cause niddah.
Thus, according to almost all opinions, a Pap smear would not make you
niddah.