pymel.core.effects.stroke — PyMEL 1.0.7 documentation

pymel.core.effects.stroke

stroke(*args, **kwargs)

The stroke command creates a new Paint Effects stroke node.

Flags:

Long Name / Short Name Argument Types Properties
name / n unicode ../../../_images/create.gif
 
Sets the name of the stroke to the input string
pressure / pr bool ../../../_images/create.gif
 

On creation, allows the copying of the pressure mapping settings from the Paint Effects Tool. Default is false. Flag can have multiple arguments, passed either as a tuple or a list.

seed / s int ../../../_images/create.gif
 
Sets the random seed for this stroke.

Derived from mel command maya.cmds.stroke

Example:

import pymel.core as pm

pm.stroke( s=10, n='armScar' )
# Result: nt.Transform(u'armScar') #

Previous topic

pymel.core.effects.spring

Next topic

pymel.core.effects.truncateFluidCache

Core Modules

Type Modules

Other Modules

This Page