Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® Maya® / MEL / Problem importing fbx from command line
  RSS 2.0 ATOM  

Problem importing fbx from command line
Rate this thread
 
36459
 
Permlink of this thread   Subscribe to this thread
avatar
  • Total Posts: 2
  • Joined: 26 June 2008 09:08 PM

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 -"C:/file.fbx"

but that gave me an error.

Anybody knows how to do that?



Replies: 0
avatar
  • samavan
  • Posted: 11 November 2009 10:41 AM

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



Portfolio_small.png

Replies: 0




   
  Settings Choose Theme color: