Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.
polySetToFaceNormal([setUserNormal=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
polySetToFaceNormal is undoable, NOT queryable, and NOT editable.
This command takes selected polygonal vertices or vertex-faces and changes their normals. If the option userNormal is used, the new normal values will be the face normals arround the vertices/vertex-faces. Otherwise the new normal values will be default values according to the internal calculation.| string | of the node name |
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
setUserNormal(su)
|
boolean
|
|
||
|
||||
import maya.cmds as cmds # Create user normals and set them to the face normals cmds.polySetToFaceNormal( setUserNormal=True ) # Set the normals to the default normal values (internally computed) cmds.polySetToFaceNormal()