DecreaseSubdivision

Introduced

2.0

Description

Decreases the subdivision level on the provided objects, by modifying their geometry approximation properties.

Scripting Syntax

DecreaseSubdivision( [InputObjs] )

Parameters

Parameter

Type

Description

InputObjs

String

List of geometric primitives (polygon meshes, curves, NURBS surfaces or hair objects) to modify.

Default Value: Current selection

Examples

VBScript Example

/*
   This example creates a NURBS sphere and a polygon mesh cube,
   and then increases the subdivision levels on the two objects.
   Finally, the subdivision level is decreased for the sphere.
*/

NewScene( null, false );

// Create a NURBS sphere and polygon mesh cube
var oSphere = CreatePrim( "Sphere", "NurbsSurface", "MySphere" );
var oCube = CreatePrim( "Cube", "MeshSurface", "MyCube" );

// Increase the subdivision for both objects
IncreaseSubdivision( oSphere + "," + oCube );
// Decrease the subdivision for the sphere
DecreaseSubdivision( oSphere );

See Also

IncreaseSubdivision



Autodesk Softimage v7.5