Hello Peter,
wow, great! Image may be NSFW.
Clik here to view.You solved it. That's exactly what I was looking for.
My suggestion is that you share it offically under parts submit. And don't forget to change the author's name in *.fzp file to yours. It's your merit. I will mention that submission in my instructables which will go online soon.
By the way: I disclosed the secret about keeping self created parts generic. It is the "module" ID-name. If the parent ID is just supplemented in front to create the new unique ID, the part stays generic. As you did: "ResistorModuleID" to
"UprightResistorModuleID". May be, you were already aware about that.
Best Regards
Albert