Message 1 of 4
Xgen: Guides to Curves with Python
Not applicable
04-12-2021
04:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello there!
Does anyone know of a way to convert all the guide curves from a spline based description into Maya curves using script?
I was able to use the following code to do it,
pm.mel.xgmGuidesToCurvesToolCreate()
but it only works when user toggles on the "Guides to Curves" in the utility tab. Otherwise it gave me an error saying:
// Error: file: C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgmGuidesToCurvesTool.mel line 72: Object 'xgmGuidesToCurvesToolGuideStat' not found. //
If anyone can help me out that would be great!
Thanks!