ResetUserNormals
 
 
 

ResetUserNormals

Introduced

v8.0 (2010)

Description

Resets the user normals associated with the input components to their automatic values.

Note: This command does not remove user normals.

Scripting Syntax

ResetUserNormals( [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

JScript Example

// Create a sphere, set polygon user normals and then reset the normals to match the automatic ones
CreatePrim("Sphere", "MeshSurface");
SetPolygonUserNormals("", false);
ResetUserNormals("", false);

See Also

CreateUserNormals RemoveUserNormals AverageUserNormals SetVertexUserNormals SetPolygonUserNormals InvertUserNormals NormalizeUserNormals CopyUserNormals PasteUserNormals SetUserNormalValues