Long name (short name) |
Argument types |
Properties |
|
-allObjects(-all)
|
boolean
|
|
|
Ignore the selection list and export all particle objects.
If you also specify an object name, the -all flag will be ignored.
|
|
-attribute(-atr)
|
string
|
|
|
Name of attribute to be exported. If any specified object
does not have one of the specified attributes, dynExport will issue
an error and not do the export.
|
|
-format(-f)
|
string
|
|
|
Desired format: "binary" ("pdb"), "ascii" ("pda"), or "cache" ("pdc").
The pdc format is for use by the Maya particle system to
cache particle data. The pda and pdb format options
are intended for pipelines involving other software (for example,
sending the data to some program written in-house);
Maya cannot read pda or pdb files.
There is no formal description of the PDB format, but the
ExploreMe/particles/readpdb directory contains the source
and Makefile for a small, simple C program called "readpdb"
which reads it. Note that you must compile and run readpdb on the
platform which you exported the files on.
|
|
-maxFrame(-mxf)
|
time
|
|
|
Ending frame to be exported.
|
|
-minFrame(-mnf)
|
time
|
|
|
Starting frame to be exported. The export operation will play the
scene through from min frame to max frame as it exports.
|
|
-overSampling(-os)
|
int
|
|
|
OverSampling to be used during export.
|
|
-path(-p)
|
string
|
|
|
This option allows you to specify a subdirectory of the workspace
"particles" directory where you want the exported files to be stored.
By default, files are stored in the workspace particles directory,
i.e., -path is relative to that directory.
( Please Read This: This is a change from previous versions of Maya
in which the path was relative to the workspace root directory.)
You can set the "particles" directory anywhere you want using the
project window or workspace -fr command. (In this way, you can use
an absolute path for export).
The -path flag cannot handle strings which include "/" or "\",
in other words, it lets you go down only one level in the directory hierarchy.
If you specify a path which doesn't exist, the action will create it
if possible; if it can't create the path it will warn you and fail.
If you are using a project for which a particle data directory is
not defined, dynExport will create a default one called "particles"
and add it to your workspace.
|
|