# Creating primitive NURBS in a plug-in

**URL:** https://forum.highend3d.com/t/creating-primitive-nurbs-in-a-plug-in/40537
**Category:** Maya
**Tags:** api
**Created:** [October 12, 1999, 4:44am UTC](https://forum.highend3d.com/t/creating-primitive-nurbs-in-a-plug-in/40537 "1999-10-12T04:44:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![oliverj](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/o/c77e96/32.png) [@oliverj](https://forum.highend3d.com/u/oliverj)
#### Post date: [October 12, 1999, 4:44am UTC](https://forum.highend3d.com/t/creating-primitive-nurbs-in-a-plug-in/40537/1 "1999-10-12T04:44:57Z")

</div>

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
