TrimWith
 
 
 

TrimWith

Introduced

v3.0

Description

Given a trim operator as input, pass-in surface curves of the untrim surface that will serve to trim it.

Scripting Syntax

TrimWith( [InputObjs], [TrimWithSrfCrv] );

Parameters

Parameter Type Description
InputObjs String List operators on which to set trim curves

Default Value: Current Selection

TrimWithSrfCrv String List surface curves on the surface to trim

Default Value: Current Selection

Examples

VBScript Example

CreatePrim "Sphere", "NurbsSurface"
CreatePrim "Circle", "NurbsCurve"
SetValue "circle.circle.radius", 2
SelectObj "sphere", , True
ApplyTopoOp "TrimByProjection", "sphere;circle", 3, siPersistentOperation
TrimWith "sphere.surfmsh.trimbyprojectionop", "sphere.srfcrv[1]"