InvertUserNormals

Introduced

v8.0 (2010)

Description

Inverts the normals associated with the input components.

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

Scripting Syntax

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

Python Example

# Create a cube and set the user normals to the inverse of the existing normals

app = Application

app.CreatePrim("Cube", "MeshSurface")

app.InvertUserNormals(None, 0)

See Also

CreateUserNormals ResetUserNormals RemoveUserNormals AverageUserNormals SetVertexUserNormals SetPolygonUserNormals NormalizeUserNormals CopyUserNormals PasteUserNormals SetUserNormalValues