SetRefPlaneFromSymmetrizePolygonOp

Introduced

v3.5

Description

Copies values from the Symmetrize Polygons operator to the input reference plane.

Scripting Syntax

SetRefPlaneFromSymmetrizePolygonOp( RefPlane, InputObjs );

Parameters

Parameter Type Description
RefPlane String Target Reference Plane's name (other than XY, XZ, YZ or View).
InputObjs String Source Symmetrize Polygons operator

Examples

VBScript Example

'This example creates a sphere and a reference plane,

'and uses that reference plane as a symmetry axis for

'the symmetrize polygon operator.

'

'It then reset the reference plane and set it back

'from the symmetrize polygon operator.

'Create the sphere and the reference plane

NewScene

CreatePrim "Sphere", "MeshSurface"

SetTransientReferencePlane "sphere.poly[5]"

'Apply SymmetrizePolygon on some polygons

ApplyTopoOp "SymmetrizePolygon", "sphere.poly[0-20]", siUnspecified, siPersistentOperation

'Use the reference plane as symmetry axis

SetSymmetrizePolygonOpRefPlane "sphere.polymsh.symmetrizepolygonop", "Transform"

'Reset the reference plane

SetTransientReferencePlane "sphere"

'Set the reference plane from the symmtry axis of the operator

SetRefPlaneFromSymmetrizePolygonOp "Transform", "sphere.polymsh.symmetrizepolygonop"

See Also

SetSymmetrizePolygonOpRefPlane