The stroke command creates a new Paint Effects stroke node.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
name (n) | unicode | ||
|
|||
pressure (pr) | bool | ||
On creation, allows the copying of the pressure mapping settings from the Paint Effects Tool. Default is false.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
seed (s) | int | ||
|
Derived from mel command maya.cmds.stroke
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.stroke( s=10, n='armScar' )
# Result: nt.Transform(u'armScar') #