pymel.core.general.stringArrayIntersector

stringArrayIntersector(*args, **kwargs)

The stringArrayIntersector command creates and edits an object which is able to efficiently intersect large string arrays. The intersector object maintains a sense of the intersection so far, and updates the intersection when new string arrays are provided using the -i/intersect flag. Note that the string intersector object may be deleted using the deleteUI command.

Flags:
  • allowDuplicates : ad (bool) [create]

    Should the intersector allow duplicates in the input arrays (true), or combine all duplicate entries into a single, unique entry (false). This flag must be used when initially creating the intersector. Default is ‘false’.

  • defineTemplate : dt (unicode) [create]

    Puts a command in a mode where any other flags and args are parsed and added to the command template specified in the argument. They will be used as default arguments in any subsequent invocations of the command when templateName is set as the current template.

  • exists : ex (bool) [create]

    Returns true|false depending upon whether the specified object exists. Other flags are ignored.

  • intersect : i (string[...]) [create,edit]

    Intersect the specified string array with the current intersection being maintained by the intersector.

  • reset : r (bool) [edit]

    Reset the intersector to begin a new intersection. Flag can have multiple arguments, passed either as a tuple or a list.

  • useTemplate : ut (unicode) [create]

    Force the command to use a command template other than the current one.

Derived from mel command maya.cmds.stringArrayIntersector

Previous topic

pymel.core.general.spaceLocator

Next topic

pymel.core.general.symmetricModelling

Core

Core Modules

Other Modules

This Page