def remove(self, members):
    mobj = _encode1(self.name(namespace=True))
    selectionList = om1.MSelectionList()
    if (not isinstance(members, (tuple, list))):
        selectionList.add(members.path())
    else:
        for member in members:
            selectionList.add(member.path())
    fn = om1.MFnSet(mobj)
    fn.removeMembers(selectionList)
def remove(self, members):
    mobj = _encode1(self.name(namespace=True))
    selectionList = om1.MSelectionList()
    if (not isinstance(members, (tuple, list))):
        selectionList.add(members.path())
    else:
        for member in members:
            selectionList.add(member.path())
    fn = om1.MFnSet(mobj)
    fn.removeMembers(selectionList)