pymel.core.modeling.bezierInfo

bezierInfo(*args, **kwargs)

This command provides a queryable interface for Bezier curve shapes.

Flags:
Long name (short name) Argument Types Properties
anchorFromCV (afc) int ../../../_images/create.gif
 
Returns the Bezier anchor index from a given CV index
cvFromAnchor (cfa) int ../../../_images/create.gif
 
Returns the CV index for a given Bezier anchor index
isAnchorSelected (ias) bool ../../../_images/create.gif
 
Returns 1 if an anchor CV is currently selected. 0, otherwise.
isTangentSelected (its) bool ../../../_images/create.gif
 
Returns 1 if a tangent CV is currently selected. 0, otherwise.
onlyAnchorsSelected (oas) bool ../../../_images/create.gif
 
Returns 1 if the only CV components selected are anchor CVs. 0, otherwise.
onlyTangentsSelected (ots) bool ../../../_images/create.gif
 

Returns 1 if the only CV components selected are tangent CVs. 0, otherwise.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.bezierInfo

Example:

import pymel.core as pm

# Queries the CV index of the anchor index 1
pm.bezierInfo( cfa=1 )
# Result: 3 #

# Queries the anchor index of a CV index 3
pm.bezierInfo( afc=3 );

Previous topic

pymel.core.modeling.bezierCurveToNurbs

Next topic

pymel.core.modeling.blend2

Core

Core Modules

Other Modules

This Page