pymel.core.general.NurbsCurveCV

Inheritance diagram of NurbsCurveCV

class NurbsCurveCV(*args, **kwargs)
getPosition(space='preTransform')

Return the position of the current CV.

Parameters :
space : Space.Space

the co-oordinate system for the returned point

values: ‘transform’, ‘preTransform’, ‘object’, ‘world’

Return type:

Point

Derived from api method maya.OpenMaya.MSpace.position

hasHistoryOnCreate()

This method determines if the shape was created with history.

Return type:bool

Derived from api method maya.OpenMaya.MItCurveCV.hasHistoryOnCreate

isDone()

Returns true if the iteration is finished, i.e. there are no more CVs to iterate on.

Return type:bool

Derived from api method maya.OpenMaya.MItCurveCV.isDone

setPosition(pt, space='preTransform')

Set the position of the current CV to the specified point.

Parameters :

pt : Point

space : Space.Space

values: ‘transform’, ‘preTransform’, ‘object’, ‘world’

Derived from api method maya.OpenMaya.MSpace.setPosition

translateBy(vec, space='preTransform')

Translates the current CV by the amount sepcified in vec .

Parameters :

vec : Vector

space : Space.Space

values: ‘transform’, ‘preTransform’, ‘object’, ‘world’

Derived from api method maya.OpenMaya.MSpace.translateBy

Undo is not currently supported for this method

updateCurve()

This method is used to signal the curve that it has been changed and needs to redraw itself. Derived from api method maya.OpenMaya.MItCurveCV.updateCurve

Undo is not currently supported for this method

Previous topic

pymel.core.general.MeshVertexFace

Next topic

pymel.core.general.NurbsCurveEP

Core

Core Modules

Other Modules

This Page