pymel.core.general.NurbsCurveCV

digraph inheritance92629e6bff { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "Component" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.Component.html#pymel.core.general.Component",style="setlinewidth(0.5)",tooltip="Abstract base class for pymel components.",height=0.25,shape=box,fontsize=8]; "PyNode" -> "Component" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Component1D" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.Component1D.html#pymel.core.general.Component1D",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "DiscreteComponent" -> "Component1D" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DimensionedComponent" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.DimensionedComponent.html#pymel.core.general.DimensionedComponent",style="setlinewidth(0.5)",tooltip="Components for which having a __getitem__ of some sort makes sense",height=0.25,shape=box,fontsize=8]; "Component" -> "DimensionedComponent" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DiscreteComponent" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.DiscreteComponent.html#pymel.core.general.DiscreteComponent",style="setlinewidth(0.5)",tooltip="Components whose dimensions are discretely indexed.",height=0.25,shape=box,fontsize=8]; "DimensionedComponent" -> "DiscreteComponent" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MItComponent" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.MItComponent.html#pymel.core.general.MItComponent",style="setlinewidth(0.5)",tooltip="Abstract base class for pymel components that can be accessed via iterators.",height=0.25,shape=box,fontsize=8]; "Component" -> "MItComponent" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MItComponent1D" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.MItComponent1D.html#pymel.core.general.MItComponent1D",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "MItComponent" -> "MItComponent1D" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Component1D" -> "MItComponent1D" [arrowsize=0.5,style="setlinewidth(0.5)"]; "NurbsCurveCV" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="#pymel.core.general.NurbsCurveCV",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "MItComponent1D" -> "NurbsCurveCV" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ProxyUnicode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.util.utilitytypes/pymel.util.utilitytypes.ProxyUnicode.html#pymel.util.utilitytypes.ProxyUnicode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.PyNode.html#pymel.core.general.PyNode",style="setlinewidth(0.5)",tooltip="Abstract class that is base for all pymel nodes classes.",height=0.25,shape=box,fontsize=8]; "ProxyUnicode" -> "PyNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

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

new position of CV

space : Space.Space

the co-ordinate system for this transformation.

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

Derived from api method maya.OpenMaya.MSpace.setPosition

translateBy(vec, space='preTransform')

Translates the current CV by the amount specified in vec .

Parameters:
vec : Vector

translation to be applied to the CV

space : Space.Space

the co-oordinate system for this transformation.

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