Skip to content

Selection Toolkit v1.1#

What does it do#

Offers several functions to ease and speed up object and component selections within Maya.

Interface#

Screenshot

Compatibility#

  • Maya 2017

  • Maya 2018

  • Maya 2019

  • Maya 2020

Installation#

  1. Copy SelectionToolkit.py to :

    Windows

    1
    \Users\USERNAME\Documents\maya\MAYAVERSION\prefs\scripts
    

    Linux

    1
    $HOME/maya/MAYAVERSION/prefs/scripts
    

    Mac

    1
    $HOME/Library/Preferences/Autodesk/maya/MAYAVERSION/prefs/scripts
    
  2. Launch / Restart Maya

  3. In Maya, open a Python Tab in the Script Editor and execute :

    1
    2
    import SelectionToolkit as SelTK
    SelTK.MainClassSelKit()
    

    Warning

    Please make sure that there are no Space characters in front of the code lines.

Video Overview#

Tool Menu#

Info

The Tool menu is located in the top right corner of the toolkit.

  • Up arrow closes all tabs

  • Down arrow opens all tabs

  • Stack icon opens a new window with information about the tool

Type Or Name#

Info

Search and select objects by type, name or characters.

  1. Choose a search scope for the operation:

    • Scene (Searches within the entire scene)
    • Hierarchy (Searches within the selected hierarchy)
  2. Choose a type to look for:

    • Geo (Geometry)
    • Grp (Groups)
    • Crv (Curves)
    • Lgt (Lights)
    • Loc (Locators)
    • Cam (Cameras)
  3. Enter a name or characters and click on Select

Component Count#

Info

Find objects that have the same component count as the selected source.

  1. Choose a Component Type:

    • Face (Faces)
    • Vert (Vertices)
    • Edge (Edges)
    • UVs (UVs)
  2. Select a source object

  3. Click on Select By Component Count to run the operation.

Info

If there are more than 200 objects within the scene, a progress bar will display the progress of the operation.

Angle#

Info

Grow a polygon face selection based on their edge normal angle until the angle is equal or larger than the entered value.

Screenshot

  1. Enter an angle value.

  2. Select a polygon face.

  3. Click on Set Face Component to run the script.

Tip

Use the slider to interactively change the angle value, after you clicked on Set Face Component.

Bad Geometry#

Info

Analyse your mesh and find invalid polygon geometry.

Screenshot

  1. Choose a geometry type:

    • Triangles
    • Quads
    • N-Gons (polygons with more than 4 sides)
    • Concave (a polygon with one or more interior angles greater than 180°)
    • Lamina (faces sharing all edges)
    • Holes
    • Non-Manifold (geometry that cannot be unfolded)
  2. The Output text area displays the amount of selected components.

Tip

The Poly Count information and Wireframe on shaded mode are great for extra feedback.

Find the Poly Count display option under Display > Heads Up Display > Poly Count.

Nth Edge#

Info

Selects every nth edge within a Loop, Ring or Border edge.

Screenshot

  1. Choose an edge type:

    • Loop
    • Ring
    • Border
  2. Enter a selection Step value

  3. Click on Apply to run the script.

Selection Sets#

Info

Save and manage component and object selections to reselect them later.

  1. Select Components or Objects

  2. Add the current selection to the list.

  3. Use the Select button to reselect stored sets.

  4. Rename sets with the Name button.

  5. Delete sets with the Remove button.

  6. Save a set to your shelf with the Shelf Button.

Selection Utilities#

Percentage#

Info

Randomly selects a specified percentage from the current object selection.

  1. Select multiple Objects

  2. Click on Percentage to run the script

  3. Enter a percentage value

Fill Shell#

Info

Temporarily cut a mesh with an edge selection and select one of the resulting shells.

Screenshot

  1. Make a loop or any closed edge selection

  2. Click on Fill Shell to run the script

  3. Choose a shell to select