|
|
|
union(self,
objects,
sets_are_members=False)
Create a union of the given items with the members of this set |
source code
|
|
|
intersection(self,
objects,
sets_are_members=False)
As union, but returns the intersection ( items in common ) of this
set with objects |
source code
|
|
|
difference(self,
objects,
sets_are_members=False)
return the result of self minus objects, thus objects will be substracted from our obejcts |
source code
|
|
|
|
|
setPartition(self,
partition,
mode=0)
Add, add exclusive or remove the given partition from our partition list |
source code
|
|
|
_toMemberObj(self,
member)
Convert member to a valid member object ( MObject, DagPath or Plug ) |
source code
|
|
|
_forceMembership(self,
member,
component,
is_single_member,
ignore_failure)
Search all sets connected to our partitions
for intersecting members and remove them. |
source code
|
|
|
_checkMemberAddResult(self,
member,
component,
mode,
ignore_failure,
is_single_member)
Check whether the given member has truly been added to our set
and either force membership or raise and exception |
source code
|
|
|
|
|
|
|
|
|
addMember(self,
member,
component=api.MObject(),
force=False,
ignore_failure=False)
Add the item to the set |
source code
|
|
|
add(self,
member_or_members,
*args,
**kwargs)
Combined method which takes single or multiple members which are to be added |
source code
|
|
|
|
|
discard(self,
member_or_members,
*args,
**kwargs)
Removes a single member or multiple members from the set |
source code
|
|
|
addMembers(self,
nodes,
force=False,
ignore_failure=False)
Add items from iterable or selection list as members to this set |
source code
|
|
|
|
|
|
|
|
|
|
|
isMember(self,
obj,
component=api.MObject())
Returns:
True if obj is a member of this set |
source code
|
|
|
_applySetOp(self,
objects,
opid,
**kwargs)
Apply the set operation with the given id |
source code
|
|
|
getUnion(self,
objects,
sets_are_members=False)
Create a union of the given items with the members of this set |
source code
|
|
|
|
|
getDifference(self,
objects,
sets_are_members=False)
return the result of self minus objects, thus objects will be substracted from our obejcts |
source code
|
|
|
|
|
|
|
|
|
__or__(self,
objects,
sets_are_members=False)
Create a union of the given items with the members of this set |
source code
|
|
|
__add__(self,
objects,
sets_are_members=False)
Create a union of the given items with the members of this set |
source code
|
|
|
__sub__(self,
objects,
sets_are_members=False)
return the result of self minus objects, thus objects will be substracted from our obejcts |
source code
|
|
|
__and__(self,
objects,
sets_are_members=False)
As union, but returns the intersection ( items in common ) of this
set with objects |
source code
|
|
|
|
|
|
|
|