# Optocoupler SMD parts (and changing existing parts)

**URL:** <https://forum.fritzing.org/t/optocoupler-smd-parts-and-changing-existing-parts/2540>\
**Category:** parts help\
**Created:** [November 30, 2016, 10:43am UTC](https://forum.fritzing.org/t/optocoupler-smd-parts-and-changing-existing-parts/2540 "2016-11-30T10:43:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kajos](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@Kajos](https://forum.fritzing.org/u/Kajos)\
**Post date:** [November 30, 2016, 10:43am UTC](https://forum.fritzing.org/t/optocoupler-smd-parts-and-changing-existing-parts/2540/1 "2016-11-30T10:43:51Z")

</div>

Hi,  
I’m trying to add the PC817 as SMD variant. I have succesfully created the SMD alternative and Fritzing recognizes it partially (it won’t give overlapping errors for the holes). However the holes are still present and exported to the production sketch.  
I have set all holes to be pads, but cannot for the love of me get them to change.  
I’m a newb, so there might be something I’m not doing correctly.

Regards,  
Kajos

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [November 30, 2016, 11:43pm UTC](https://forum.fritzing.org/t/optocoupler-smd-parts-and-changing-existing-parts/2540/2 "2016-11-30T23:43:08Z")

</div>

If you post your modified part here someone will likely be able to point out your error. You may also find help in one of these:

> [@A new part creation HowTo (long! So long it is in 2 posts)](http://forum.fritzing.org/t/a-new-part-creation-howto-long-so-long-it-is-in-2-posts/2238):
>
> (Edit: November 2016: This is an updated (and corrected) version of the original parts creation howto. This version corrects some suggestions (mostly saving Inkscape files as optimized svg which turns out to cause other problems) with the first version and expands the section on parts testing. While there doesn’t appear to be a lot of interest in this subject I’ll make at least this update so the information is as correct as I can get it.) This is a description of how I made the Valor PM6078-00…

> [@Part Creation - A very rough how-to](http://forum.fritzing.org/t/part-creation-a-very-rough-how-to/2254):
>
> You would need a whole series of videos, but this is a quick one to show some tips. This is not a proper guide, just methods to do stuff. karlalhdz and vanepp motivated me to finally work out a screen recorder and put something together.

---

<div class="post-metadata">

**Author:** ![Kajos](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@Kajos](https://forum.fritzing.org/u/Kajos)\
**Post date:** [December 1, 2016, 4:40pm UTC](https://forum.fritzing.org/t/optocoupler-smd-parts-and-changing-existing-parts/2540/3 "2016-12-01T16:40:31Z")

</div>

Thanks vanepp, I´ll check out those tutorials first.

---

<div class="post-metadata">

**Author:** ![Kajos](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@Kajos](https://forum.fritzing.org/u/Kajos)\
**Post date:** [December 1, 2016, 9:06pm UTC](https://forum.fritzing.org/t/optocoupler-smd-parts-and-changing-existing-parts/2540/4 "2016-12-01T21:06:33Z")

</div>

I ended up just creating it directly on the PCB with pads and a silk image.
