pymel.core.modeling.bezierAnchorPreset

bezierAnchorPreset(*args, **kwargs)

This command provides a queryable interface for Bezier curve shapes.

Flags:
Long name (short name) Argument Types Properties
preset (p) int ../../../_images/create.gif
 

Selects a preset to apply to selected Bezier anchors. Valid arguments are: 0: Bezier 1: Bezier Corner 2: Corner Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.bezierAnchorPreset

Example:

import pymel.core as pm

# Applies the "Bezier" anchor preset to all selected anchors
pm.bezierAnchorPreset( p=0 )

# Applies the "Bezier Corner" anchor preset to all selected anchors
pm.bezierAnchorPreset( p=1 )

# Applies the "Corner" anchor preset to all selected anchors
pm.bezierAnchorPreset( p=2 )

Previous topic

pymel.core.modeling.bevelPlus

Next topic

pymel.core.modeling.bezierAnchorState

Core

Core Modules

Other Modules

This Page