Does a pending green card hurt an H-1B visa interview?
No. H-1B is a dual intent visa, so a green card case is not a reason to refuse it. Answer honestly about the case and bring your current documents.
No. A pending PERM, I-140 or I-485 is not a reason for a consular officer to refuse an H-1B visa. The law gives H-1B "dual intent": the fact that you have sought permanent residence, or will, does not stop you from getting or keeping H-1B status (INA 214(h)). The State Department's manual tells officers that the immigrant intent presumption in INA 214(b) "cannot be applied to H-1B applicants" (9 FAM 402.10-10(A)).
What the officer is checking instead
The interview is about the H-1B itself:
that you are the person named in the approved petition
that the job and employer match the petition
that you meet the requirements of the job
that you are admissible, with no criminal or immigration history that bars you
Your green card case can come up. If the officer asks whether you have applied for a green card, say yes and describe where it stands. Hiding a pending case is the risk, not the case itself. The DS-160 asks about immigrant petitions, and the answer must be truthful.
Your H-4 family
The same protection covers H-4 dependents in practice. The manual notes that derivatives of H-1B applicants are subject to 214(b) only in limited situations (9 FAM 402.10-10(A)), and an H-4 spouse need not show a residence abroad. A spouse's interview turns on the relationship and on your H-1B status.
Where a pending case does matter
Travel while an I-485 is pending. The visa itself is not the issue, but how you return is. An H-1B worker returning to the same employer on a valid H-1B visa does not abandon the I-485 (8 CFR 245.2(a)(4)(ii)(C)). If you have left the H-1B employer, travel on advance parole instead.
Biometrics or an interview scheduled while you are away. Missing a USCIS appointment can hurt the green card case.
Administrative processing. Some H-1B applicants are held for further review after the interview. That is about security screening, not the green card, but it can strand you abroad for weeks. Readers with a pending I-485 often carry advance parole as a backup.
Other classifications are different
The dual intent rule is specific. H-1B1 (Chile and Singapore), TN, F-1, J-1 and B visitors do not have it, and a pending green card case can be a reason to refuse those visas (9 FAM 402.10-10(A)). If you are changing to one of them, the advice changes too.
What goes wrong
Answering no on the DS-160 to an immigrant petition question. A false answer can be treated as misrepresentation.
Taking a stamping trip with an expired employment letter or old pay statements.
Booking non-refundable flights for the day after the interview.
If you have ever been refused a visa, or your green card case has had a denial or an RFE about your history, talk to an immigration attorney before the interview, because those answers carry more weight than the pending case itself.