Hey Michael, You can query objects in the vicinity of a vertex using the MRichSelection class from the API. It’s piggybacking on Maya’s soft-selection feature.
I found a thread with an example here: https://groups.google.com/forum/#!topic/python_inside_maya/q1JlddKybyM If that doesn’t do it, let me know and I’ll type up an example, I’ve done something similar using this class in the past. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCKkMikgrc%2B0gOaC1%2BE3vH1%2Bxc4HZEonz7WtQHmoB9nCQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.