I’m new to the Maya API and I’m trying to understand how to create a simple NURBS circle in my plug-in. I’ve read Appendix A of the Developer’s Toolkit docs which details the process of creating a circle using the MFnNurbsCurve class. However, I was wondering if there was a way to invoke the existing NURBS primitive functionality that is accessible from the Maya menus (e.g. I just want to call a “circle()” function to draw a circle).
Are there functions/objects I can use to create NURBS primitives, or do I need to re-invent the wheel using the MFnNurbsCurve class? If so, is the source code available for the NURBS primitives?
Thanks.
Oliver