pymel.core.rendering.displacementToPoly

displacementToPoly(*args, **kwargs)

Command bakes geometry with displacement mapping into a polygonal object.

Flags:

Long Name / Short Name Argument Types Properties
findBboxOnly / fbb bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  When used, only the bounding box scale for the displaced object is found. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.displacementToPoly

Example:

import pymel.core as pm

# To bake the rendered geometry and create a new meshShape, for the
# selected geometry shape use:
pm.displacementToPoly()