artSelectCtx is undoable, queryable, and editable.
This command is used to select/deselect/toggle components on
selected surfaces using a brush interface (Maya Artisan). Since, it
selects components of the surface, it only works in the component
mode.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
exists(ex) |
boolean |
![create create](../gfx/create.gif) |
|
Returns true or false depending upon whether the specified
object exists. Other flags are ignored. |
|
image1(i1) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
image2(i2) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
image3(i3) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Contexts support up to three icons that represent the tool
associated with the context. |
|
history(ch) |
boolean |
![create create](../gfx/create.gif) |
|
If this is a tool command, turn the construction history on for
the tool in question. |
|
name(n) |
string |
![create create](../gfx/create.gif) |
|
If this is a tool command, name the tool appropriately. |
|
dragSlider(dsl) |
string |
![create create](../gfx/create.gif) ![edit edit](../gfx/edit.gif) |
|
Sets the current brush drag state for resizing or offsetting
the brush (like the 'b' and 'm' default hotkeys). The string
argument is one of: "radius", "lowradius", "opacity", "value",
"depth", "displacement", "uvvector" or "none". C: Default is
"none". |
|
opacity(op) |
float |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Sets the brush opacity. C: Default is 1.0. Q: When queried, it
returns a float. |
|
accopacity(aco) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Sets opacity accumulation on/off. C: Default is false (Except
for sculpt tool for which it is true by default). Q: When queried,
it returns a boolean. |
|
radius(r) |
float |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Sets the size of the brush. C: Default is 1.0 cm. Q: When
queried, it returns a float. |
|
lowerradius(lr) |
float |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Sets the lower size of the brush (only apply on tablet). |
|
stampProfile(stP) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Sets the brush profile of the current stamp. Currently, the
following profiles are supported: "gaussian", "soft", "solid" and
"square". C: Default is gaussian. Q: When queried, it returns a
string. |
|
profileShapeFile(psf) |
string |
![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Passes a name of the image file for the stamp shape
profile. |
|
brushalignment(bra) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the path brush alignemnt. If true, the brush will
align to stroke path, otherwise it will align to up vector. C:
Default is true. Q: When queried, it returns a boolean. |
|
clear(clr) |
boolean |
![create create](../gfx/create.gif) ![edit edit](../gfx/edit.gif) |
|
Floods all cvs/vertices to the current value. |
|
usepressure(up) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Sets the tablet pressure on/off. C: Default is false. Q: When
queried, it returns a boolean. |
|
mappressure(mp) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Sets the tablet pressure mapping when the table is used. There
are four options: "none" - the pressure has no effect, "opacity" -
the pressure is mapped to the opacity, "radius" - the is mapped to
modify the radius of the brush, "both" - the pressure modifies both
the opacity and the radius. C: Default is "none". Q: When queried,
it returns a string. |
|
outline(o) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies if the brush should be drawn. C: Default is TRUE. Q:
When queried, it returns a boolean. |
|
outwhilepaint(owp) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies if the brush outline should be drawn while painting.
C: Default is FALSE. Q: When queried, it returns a boolean. |
|
brushfeedback(brf) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies if the brush additional feedback should be drawn. C:
Default is TRUE. Q: When queried, it returns a boolean. |
|
showactive(sa) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Sets on/off the display of the surface isoparms. C: Default is
TRUE. Q: When queried, it returns a boolean. |
|
paintmode(pm) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the paint mode. There are two possibilities: "screen"
and "tangent". C: Default is "screen". Q: When queried, it returns
a string. |
|
projective(prm) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the projective paint mode. C: Default is 'false'. Q:
When queried, it returns a boolean. |
|
reflection(rn) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the reflection mode. C: Default is 'false'. Q: When
queried, it returns a boolean. |
|
reflectionaxis(ra) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the reflection axis. There are three possibilities:
"x", "y" and "z". C: Default is "x". Q: When queried, it returns a
string. |
|
importfileload(ifl) |
string |
![edit edit](../gfx/edit.gif) |
|
Load the attribute map a specified file. |
|
importreassign(irm) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies if the multiply atrribute maps are to be reassigned
while importing. Only maps previously exported from within Artisan
can be reassigned. C: Default is FALSE. Q: When queried, it returns
a boolean. |
|
importfilemode(ifm) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the channel to import. The valid entries here are:
"alpha", "luminance", "red", "green", "blue", and "rgb" C: Default
is "alpha". Q: When queried, it returns a string. |
|
expandfilename(eef) |
boolean |
![create create](../gfx/create.gif) ![edit edit](../gfx/edit.gif) |
|
If true, it will expand the name of the export file and
concatenate it with the surface name. Otherwise it will take the
name as it is. C: Default is true. |
|
exportfilesave(esf) |
string |
![edit edit](../gfx/edit.gif) |
|
Exports the attribute map and saves to a specified file. |
|
exportfilemode(efm) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the export channel.The valid entries here are:
"alpha", "luminance", "rgb", "rgba". C: Default is "luminance/rgb".
Q: When queried, it returns a string. |
|
exportfilesizex(fsx) |
int |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the width of the attribute map to export. C: Default
width is 256. Q: When queried, it returns an integer. |
|
exportfilesizey(fsy) |
int |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the width of the attribute map to export. C: Default
width is 256. Q: When queried, it returns an integer. |
|
exportfiletype(eft) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the image file format. It can be one of the
following: "iff", "tiff", "jpeg", "alias", "rgb", "fit"
"postScriptEPS", "softimage", "wavefrontRLA", "wavefrontEXP". C:
default is tiff. Q: When queried, it returns a string. |
|
tablet(tab) |
boolean |
![query query](../gfx/query.gif) |
|
Returns true if the tablet device is present, false if it is
absent |
|
surfaceConformedBrushVertices(
scv) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Enables/disables the the display of the effective brush area as
affected vertices. |
|
tangentOutline(to) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Enables/disables the display of the brush circle tangent to the
surface. |
|
selectop(sop) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the selection operation ("select", "unselect",
"toggle"). C: Default is "select". Q: When queried, it returns a
string. |
|
addselection(ads) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
If true, each new stroke adds cvs to the active list. If false,
each stroke replaces the previous selection. C: Default is true. Q:
When queried, it returns a boole |
|
selectall(sal) |
boolean |
![create create](../gfx/create.gif) ![edit edit](../gfx/edit.gif) |
|
Selects all vertices/egdes/faces/uvs. |
|
unselectall(ual) |
boolean |
![create create](../gfx/create.gif) ![edit edit](../gfx/edit.gif) |
|
Unselects all vertices/egdes/faces/uvs. |
|
toggleall(tal) |
boolean |
![create create](../gfx/create.gif) ![edit edit](../gfx/edit.gif) |
|
Toggle all vertices/egdes/faces/uvs. |
|
importthreshold(ift) |
float |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Specifies the threshold for the import of the attribute maps.
C: Default is 0.5. Q: When queried, it returns a float. |
|
beforeStrokeCmd(bsc) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
The passed string is executed as a MEL command immediately
before the start of a stroke. C: Default is no command. Q: When
queried, it returns the current command |
|
afterStrokeCmd(asc) |
string |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
The passed string is executed as a MEL command immediately
after the end of a stroke. C: Default is no command. Q: When
queried, it returns the current command |
|