pymel.core.modeling.illustratorCurves

illustratorCurves(*args, **kwargs)

The illustratorCurves command creates NURBS curves from an input Adobe(R) Illustrator(R) file.

Flags:

Long Name / Short Name Argument Types Properties
caching / cch bool  
   
constructionHistory / ch bool ../../../_images/create.gif
  Turn the construction history on or off.
frozen / fzn bool  
   
illustratorFilename / ifn unicode ../../../_images/create.gif
  Input Adobe(R) Illustrator(R) file name.
name / n unicode ../../../_images/create.gif
  Sets the name of the newly created node. If it contains namespace path, the new node will be created under the specified namespace; if the namespace does not exist, it will be created.
nodeState / nds int  
   
object / o bool ../../../_images/create.gif
  Create the result shapes, or just the dependency node .
scaleFactor / sf float ../../../_images/create.gif
  The scale factor. Flag can have multiple arguments, passed either as a tuple or a list.
tolerance / tl float  
   

Derived from mel command maya.cmds.illustratorCurves

Example:

import pymel.core as pm

# Create curves from an input Adobe(R) Illustrator(R) file d:/sample.ai
# and scale factor 2.54
pm.illustratorCurves( ifn='d:/sample.ai', sf=2.54 )
# Result: [u'IllustratorCurves1', u'makeIllustratorCurves1'] #