Hi,
I'm trying to create a particle system running Maya standalone (headless). I'm getting an error stating (RuntimeError: No fx edit license found. Can't create/edit object). I've tried the same script in different ways using maya.cmds and pymel. Both have the same issue, but I can run the scripts perfectly fine within Maya.
Here is a sample of the code I'm running.
HeadlessVersin:
import maya.standalone
maya.standalone.initialize()
import init
import maya.cmds as mc
mc.file(newFile=True, force=True)
mc.particle( p=[(0, 0, 0), (3, 5, 6), (5, 6, 7), (9, 9, 9)] )
mc.saveAs('C:File/Location.mb')
mc.saveFile(type='mayaBinary')
Within Maya:
import maya.cmds as mc
mc.file(newFile=True, force=True)
mc.particle( p=[(0, 0, 0), (3, 5, 6), (5, 6, 7), (9, 9, 9)] )
mc.saveAs('C:File/Location.mb')
mc.saveFile(type='mayaBinary')
I'm getting the error with the mc.particle() command.
Ideas?
Thank you.