ジャンプ先: 概要. 戻り値. フラグ. Python 例.
artSelectCtx([accopacity=boolean], [addselection=boolean], [afterStrokeCmd=string], [beforeStrokeCmd=string], [brushalignment=boolean], [brushfeedback=boolean], [clear=boolean], [dragSlider=string], [dynclonemode=boolean], [exists=boolean], [expandfilename=boolean], [exportaspectratio=float], [exportfilemode=string], [exportfilesave=string], [exportfilesizex=int], [exportfilesizey=int], [exportfiletype=string], [history=boolean], [image1=string], [image2=string], [image3=string], [importfileload=string], [importfilemode=string], [importreassign=boolean], [importthreshold=float], [lastRecorderCmd=string], [lastStampName=string], [lowerradius=float], [makeStroke=uint], [mappressure=string], [name=string], [opacity=float], [outline=boolean], [outwhilepaint=boolean], [paintmode=string], [paintoperationtype=string], [pickColor=boolean], [pickValue=boolean], [playbackCursor=[float, float]], [playbackPressure=float], [preserveclonesource=boolean], [profileShapeFile=string], [projective=boolean], [radius=float], [record=boolean], [reflection=boolean], [reflectionaboutorigin=boolean], [reflectionaxis=string], [screenRadius=float], [selectall=boolean], [selectclonesource=boolean], [selectop=string], [showactive=boolean], [stampDepth=float], [stampProfile=string], [stampSpacing=float], [strokesmooth=string], [surfaceConformedBrushVertices=boolean], [tablet=boolean], [tangentOutline=boolean], [toggleall=boolean], [unselectall=boolean], [usepressure=boolean], [worldRadius=float])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
artSelectCtx は、取り消し可能、照会可能、および編集可能です。
このコマンドは、ブラシ インタフェース(Maya Artisan)を使って、選択したサーフェス上のコンポーネントを選択/選択解除/切り替えるために使用します。このコマンドはサーフェスのコンポーネントを選択するため、該当するコンポーネント モードでしか作動しません。
なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
accopacity(aco)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
addselection(ads)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
afterStrokeCmd(asc)
|
string
|
![]() ![]() ![]() |
||
|
||||
beforeStrokeCmd(bsc)
|
string
|
![]() ![]() ![]() |
||
|
||||
brushalignment(bra)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
brushfeedback(brf)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
clear(clr)
|
boolean
|
![]() ![]() |
||
|
||||
dragSlider(dsl)
|
string
|
![]() ![]() |
||
|
||||
dynclonemode(dcm)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
exists(ex)
|
boolean
|
![]() |
||
|
||||
expandfilename(eef)
|
boolean
|
![]() ![]() |
||
|
||||
exportaspectratio(ear)
|
float
|
![]() ![]() ![]() |
||
|
||||
exportfilemode(efm)
|
string
|
![]() ![]() ![]() |
||
|
||||
exportfilesave(esf)
|
string
|
![]() |
||
|
||||
exportfilesizex(fsx)
|
int
|
![]() ![]() ![]() |
||
|
||||
exportfilesizey(fsy)
|
int
|
![]() ![]() ![]() |
||
|
||||
exportfiletype(eft)
|
string
|
![]() ![]() ![]() |
||
|
||||
history(ch)
|
boolean
|
![]() |
||
|
||||
image1(i1)
|
string
|
![]() ![]() ![]() |
||
|
||||
image2(i2)
|
string
|
![]() ![]() ![]() |
||
|
||||
image3(i3)
|
string
|
![]() ![]() ![]() |
||
|
||||
importfileload(ifl)
|
string
|
![]() |
||
|
||||
importfilemode(ifm)
|
string
|
![]() ![]() ![]() |
||
|
||||
importreassign(irm)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
importthreshold(ift)
|
float
|
![]() ![]() ![]() |
||
|
||||
lastRecorderCmd(lrc)
|
string
|
![]() ![]() ![]() |
||
|
||||
lastStampName(lsn)
|
string
|
![]() ![]() ![]() |
||
|
||||
lowerradius(lr)
|
float
|
![]() ![]() ![]() |
||
|
||||
makeStroke(mst)
|
uint
|
![]() ![]() ![]() ![]() |
||
|
||||
mappressure(mp)
|
string
|
![]() ![]() ![]() |
||
|
||||
name(n)
|
string
|
![]() |
||
|
||||
opacity(op)
|
float
|
![]() ![]() ![]() |
||
|
||||
outline(o)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
outwhilepaint(owp)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
paintmode(pm)
|
string
|
![]() ![]() ![]() |
||
|
||||
paintoperationtype(pot)
|
string
|
![]() ![]() ![]() |
||
|
||||
pickColor(pcm)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
pickValue(pv)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
playbackCursor(plc)
|
[float, float]
|
![]() ![]() ![]() ![]() |
||
|
||||
playbackPressure(plp)
|
float
|
![]() ![]() ![]() ![]() |
||
|
||||
preserveclonesource(pcs)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
profileShapeFile(psf)
|
string
|
![]() ![]() |
||
|
||||
projective(prm)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
radius(r)
|
float
|
![]() ![]() ![]() |
||
|
||||
record(rec)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
reflection(rn)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
reflectionaboutorigin(rno)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
reflectionaxis(ra)
|
string
|
![]() ![]() ![]() |
||
|
||||
screenRadius(scR)
|
float
|
![]() ![]() ![]() |
||
|
||||
selectall(sal)
|
boolean
|
![]() ![]() |
||
|
||||
selectclonesource(scs)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
selectop(sop)
|
string
|
![]() ![]() ![]() |
||
|
||||
showactive(sa)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
stampDepth(stD)
|
float
|
![]() ![]() ![]() |
||
|
||||
stampProfile(stP)
|
string
|
![]() ![]() ![]() |
||
|
||||
stampSpacing(stS)
|
float
|
![]() ![]() ![]() |
||
|
||||
strokesmooth(ssm)
|
string
|
![]() ![]() ![]() |
||
|
||||
surfaceConformedBrushVertices(scv)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
tablet(tab)
|
boolean
|
![]() |
||
|
||||
tangentOutline(to)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
toggleall(tal)
|
boolean
|
![]() ![]() |
||
|
||||
unselectall(ual)
|
boolean
|
![]() ![]() |
||
|
||||
usepressure(up)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
worldRadius(wlR)
|
float
|
![]() ![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # Create a new select context, then switch to it cmds.artSelectCtx('artSelectCtx1') cmds.setToolTo('artSelectCtx1') # Set brush's radius to 2.0, lower radius to 0.5 cmds.artSelectCtx('artSelectCtx1', edit=True, r=2.0, lr=0.5)