Message 1 of 2
Curves to Guides with Python/MEL

Not applicable
10-18-2018
06:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
For my current Houdini/Maya project I need a tool for quick conversion of externally generated curves to Xgen.
Import works fine but couldn't figure out a way to convert via Python/MEL.
cmds.xgmMakeGuideDynamic(createFromCurves = True,deleteCurves = False, preserveDynamicLink = False)
Python code above failed with following error message (with Curves selected):
# RuntimeError: No valid modifier node specified. # XGen: (kFailure): Unexpected Internal Failure #
Thanks