Go to: Synopsis. Return value. Python examples.



Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

curveAddPtCtx is undoable, queryable, and editable.

The curveAddPtCtx command creates a new curve add points context, which adds either control vertices (CVs) or edit points to an existing curve.

Return value

string(name of the new context)

In query mode, return type is based on queried flag.

Python examples

import maya.cmds as cmds

# To create a new context: