v3.5
operator
Copies values from the input reference plane to Symmetrize Polygons operator's symmetry plane.
SetSymmetrizePolygonOpRefPlane( InputObjs, RefPlane ); |
Parameter | Type | Description |
---|---|---|
InputObjs | String | Target Symmetrize Polygons operator |
RefPlane | String | Source Reference Plane's name (other than XY, XZ, YZ or View). |
'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" |