Go to: Synopsis. Return value. Flags. Python examples.
illustratorCurves(
[string]
, [constructionHistory=boolean], [illustratorFilename=string], [name=string], [object=boolean], [scaleFactor=float])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
illustratorCurves is undoable, queryable, and editable.
The illustratorCurves command creates NURBS curves from an input
Adobe(R) Illustrator(R) file
string[] | Object name and node name |
In query mode, return type is based on queried flag.
constructionHistory, illustratorFilename, name, object, scaleFactor
Long name (short name) |
Argument types |
Properties |
illustratorFilename(ifn)
|
string
|
|
|
Input Adobe(R) Illustrator(R) file name
|
|
scaleFactor(sf)
|
float
|
|
|
object(o)
|
boolean
|
|
|
Create the result shapes, or just the dependency node
|
|
constructionHistory(ch)
|
boolean
|
|
|
Turn the construction history on or off
|
|
name(n)
|
string
|
|
|
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.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can have multiple arguments, passed either as a tuple or a list.
|
import maya.cmds as cmds
# Create curves from an input Adobe(R) Illustrator(R) file d:/sample.ai
# and scale factor 2.54
cmds.illustratorCurves( ifn='d:/sample.ai', sf=2.54 )