|
Hi!
I have a problem with importing an fbx file when starting maya from command line.
I’ve tried several variations like:
maya -file "C:/file.fbx"
(and I got a gray view screen and nothing imported)
and
maya -script "C:/script.mel"
with
script.mel containing:
file -i "C:/file.fbx"
but that gave me an error.
Anybody knows how to do that?
|
|
|
|
FBX plugins use a special list of functions for that.
You can find a complete list in you FBX documnetation, something like :
C:\Program Files\Autodesk\FBX\FbxPlugins\2010.0.2\Maya 2009\docs\fbx\en_US
FBXImport -f [filename] -t [take index]
# FBXImport
# FBXImportAxisConversionEnable
# FBXImportCacheFile
# FBXImportCameras
# FBXImportCharacter
# FBXImportConstraints
# FBXImportConvertDeformingNullsToJoint
# FBXImportDxfWeldVertice
# FBXImportDxfReferenceNode
# FBXImportDxfObjectDerivation
# FBXImportEdgeSmoothing
# FBXImportFillTimeline
# FBXImportGenerateLog
# FBXImportHardEdges
# FBXImportLights
# FBXImportMergeBackNullPivots
# FBXImportMergeAnimationLayers
# FBXImportMode
# FBXImportOverrideNormalsLock
# FBXImportProtectDrivenKeys
# FBXImportQuaternion
# FBXImportRemoveBadPolysFromMeshes
# FBXImportResamplingRateSource
# FBXImportScaleFactorEnable
# FBXImportScaleFactor
# FBXImportSetMayaFrameRate
# FBXImportSetLockedAttribute
# FBXImportShapes
# FBXImportSkins
# FBXImportUpAxis

|
|
|