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 |
|
accopacity(aco)
|
boolean
|
|
|
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.
|
|
addselection(ads)
|
boolean
|
|
|
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
|
|
afterStrokeCmd(asc)
|
string
|
|
|
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
|
|
beforeStrokeCmd(bsc)
|
string
|
|
|
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
|
|
brushalignment(bra)
|
boolean
|
|
|
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.
|
|
brushfeedback(brf)
|
boolean
|
|
|
Specifies if the brush additional feedback should
be drawn.
C: Default is TRUE. Q: When queried, it returns a boolean.
|
|
clear(clr)
|
boolean
|
|
|
Floods all cvs/vertices to the current value.
|
|
dragSlider(dsl)
|
string
|
|
|
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".
|
|
dynclonemode(dcm)
|
boolean
|
|
|
Enable or disable dynamic clone mode.
|
|
exists(ex)
|
boolean
|
|
|
Returns true or false depending upon whether the
specified object exists. Other flags are ignored.
|
|
expandfilename(eef)
|
boolean
|
|
|
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.
|
|
exportaspectratio(ear)
|
float
|
|
|
Value of aspect ratio for export
|
|
exportfilemode(efm)
|
string
|
|
|
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.
|
|
exportfilesave(esf)
|
string
|
|
|
Exports the attribute map and saves to a specified file.
|
|
exportfilesizex(fsx)
|
int
|
|
|
Specifies the width of the attribute map to export.
C: Default width is 256. Q: When queried, it returns an integer.
|
|
exportfilesizey(fsy)
|
int
|
|
|
Specifies the width of the attribute map to export.
C: Default width is 256. Q: When queried, it returns an integer.
|
|
exportfiletype(eft)
|
string
|
|
|
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.
|
|
history(ch)
|
boolean
|
|
|
If this is a tool command, turn the construction history on
for the tool in question.
|
|
image1(i1)
|
string
|
|
|
First of three possible icons representing the tool
associated with the context.
|
|
image2(i2)
|
string
|
|
|
Second of three possible icons representing the tool
associated with the context.
|
|
image3(i3)
|
string
|
|
|
Third of three possible icons representing the tool
associated with the context.
|
|
importfileload(ifl)
|
string
|
|
|
Load the attribute map a specified file.
|
|
importfilemode(ifm)
|
string
|
|
|
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.
|
|
importreassign(irm)
|
boolean
|
|
|
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.
|
|
importthreshold(ift)
|
float
|
|
|
Specifies the threshold for the import of
the attribute maps.
C: Default is 0.5. Q: When queried, it returns a float.
|
|
lastRecorderCmd(lrc)
|
string
|
|
|
Value of last recorded command.
|
|
lastStampName(lsn)
|
string
|
|
|
Value of the last stamp name.
|
|
lowerradius(lr)
|
float
|
|
|
Sets the lower size of the brush (only apply on tablet).
|
|
makeStroke(mst)
|
uint
|
|
|
mappressure(mp)
|
string
|
|
|
Sets the tablet pressure mapping when the table
is used. There are three options:
"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 "Opacity". Q: When queried, it returns a string.
|
|
name(n)
|
string
|
|
|
If this is a tool command, name the tool appropriately.
|
|
opacity(op)
|
float
|
|
|
Sets the brush opacity.
C: Default is 1.0. Q: When queried, it returns a float.
|
|
outline(o)
|
boolean
|
|
|
Specifies if the brush should be drawn.
C: Default is TRUE. Q: When queried, it returns a boolean.
|
|
outwhilepaint(owp)
|
boolean
|
|
|
Specifies if the brush outline should be drawn
while painting.
C: Default is FALSE. Q: When queried, it returns a boolean.
|
|
paintmode(pm)
|
string
|
|
|
Specifies the paint mode. There are two
possibilities: "screen" and "tangent".
C: Default is "screen". Q: When queried, it returns a string.
|
|
paintoperationtype(pot)
|
string
|
|
|
Specifies the operation type used by the
Paint Tool. Currently, we support the following
paint modes: "Paint", "Smear", "Blur", "Erase"
and "Clone".
Default is "Paint".
|
|
pickColor(pcm)
|
boolean
|
|
|
Set pick color mode on or off
|
|
pickValue(pv)
|
boolean
|
|
|
playbackCursor(plc)
|
[float, float]
|
|
|
Values for the playback cursor.
|
|
playbackPressure(plp)
|
float
|
|
|
Valus for the playback pressure.
|
|
preserveclonesource(pcs)
|
boolean
|
|
|
Whether or not to preserve a clone source.
|
|
profileShapeFile(psf)
|
string
|
|
|
Passes a name of the image file for the stamp shape
profile.
|
|
projective(prm)
|
boolean
|
|
|
Specifies the projective paint mode.
C: Default is 'false'. Q: When queried, it returns a boolean.
|
|
radius(r)
|
float
|
|
|
Sets the size of the brush.
C: Default is 1.0 cm. Q: When queried, it returns a float.
|
|
record(rec)
|
boolean
|
|
|
reflection(rn)
|
boolean
|
|
|
Specifies the reflection mode.
C: Default is 'false'. Q: When queried, it returns a boolean.
|
|
reflectionaboutorigin(rno)
|
boolean
|
|
|
Toggle on to reflect about the origin
|
|
reflectionaxis(ra)
|
string
|
|
|
Specifies the reflection axis. There are three
possibilities: "x", "y" and "z".
C: Default is "x". Q: When queried, it returns a string.
|
|
screenRadius(scR)
|
float
|
|
|
Brush radius on the screen
|
|
selectall(sal)
|
boolean
|
|
|
Selects all vertices/egdes/faces/uvs.
|
|
selectclonesource(scs)
|
boolean
|
|
|
Toggle on to select the clone source
|
|
selectop(sop)
|
string
|
|
|
Specifies the selection operation
("select", "unselect", "toggle").
C: Default is "select". Q: When queried, it returns a string.
|
|
showactive(sa)
|
boolean
|
|
|
Sets on/off the display of the surface isoparms.
C: Default is TRUE. Q: When queried, it returns a boolean.
|
|
stampDepth(stD)
|
float
|
|
|
stampProfile(stP)
|
string
|
|
|
Sets the brush profile of the current stamp.
Currently, the following profiles are supported:
"gaussian", "poly", "solid" and "square".
C: Default is gaussian. Q: When queried, it returns a string.
|
|
stampSpacing(stS)
|
float
|
|
|
Specifies the stamp spacing. Default is 1.0.
|
|
strokesmooth(ssm)
|
string
|
|
|
Stroke smoothing type name
|
|
surfaceConformedBrushVertices(scv)
|
boolean
|
|
|
Enables/disables the the display of the effective brush area
as affected vertices.
|
|
tablet(tab)
|
boolean
|
|
|
Returns true if the tablet device is present, false if it is absent
|
|
tangentOutline(to)
|
boolean
|
|
|
Enables/disables the display of the brush circle tangent to
the surface.
|
|
toggleall(tal)
|
boolean
|
|
|
Toggle all vertices/egdes/faces/uvs.
|
|
unselectall(ual)
|
boolean
|
|
|
Unselects all vertices/egdes/faces/uvs.
|
|
usepressure(up)
|
boolean
|
|
|
Sets the tablet pressure on/off.
C: Default is false. Q: When queried, it returns a boolean.
|
|
worldRadius(wlR)
|
float
|
|
|