SetPolygonUserNormals

Introduced

v8.0 (2010)

Description

Sets the normals associated with the specified components to the polygon normal of the component.

Note: This command will create user normals for the input components if required.

Scripting Syntax

SetPolygonUserNormals( [InputObjs], [BleedSelection] );

Parameters

Parameter Type Description
InputObjs String List of components.

Default Value: Currently selected components

BleedSelection Boolean True to extend edge/polygon selections to include neighboring vertices.

Default Value: If not specified, the Tweak User Normal tool setting will be used

Examples

VBScript Example

' Create a sphere and set the user normals to the polygon normals

CreatePrim "Sphere", "MeshSurface"

SetPolygonUserNormals , False

See Also

CreateUserNormals ResetUserNormals RemoveUserNormals AverageUserNormals SetVertexUserNormals InvertUserNormals NormalizeUserNormals CopyUserNormals PasteUserNormals SetUserNormalValues