Go to: Synopsis. Flags. Return value. Related. MEL examples.

Synopsis

currentUnit [-about string] [-axis string] [-symmetry int] [-tolerance float]

currentUnit is undoable, queryable, and editable.

This command allows you to change the symmetric modelling options.

Symmetric modelling is an option that allows for reflection of basic manipulator actions such as move, rotate, and scale.

Flags

about, axis, symmetry, tolerance
Long name (short name) [argument types] Properties
-symmetry(-s) int createqueryedit
Set the symmetry option on or off When queried, returns an int for the option

In query mode, this flag needs a value.

-axis(-ax) string createqueryedit
Set the current axis to be reflected over. When queried, returns a string which is the current axis

In query mode, this flag needs a value.

-about(-a) string createqueryedit
Set the current point to reflect about. When queried, returns a string which is the current point being reflected about

In query mode, this flag needs a value.

-tolerance(-t) float createqueryedit
Set the tolerance of reflection. When queried, returns a float of the tolerance

In query mode, this flag needs a value.


Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Return value

None

Related

displayAffected, displayColor, displayCull, displayLevelOfDetail, displayPref, displayRGBColor, displaySmoothness, displayStats, displaySurface, hide, refresh, showHidden, toggle

MEL examples

// What is the current reflection setting
currentUnit -query -symmetry;

// What is the current reflection axis
currentUnit -query -axis;

// Change the point to reflect about
currentUnit -about "origin";

// Change the current tolerance to 0.34
currentUnit -tolerance 0.34;