Sweep

Arguments

Note that some combinations of arguments may not be valid. The restrictions are the same as when creating a Sweep interactively.

Properties

Note that the acceptable values for these properties are shown above. The same restrictions and argument types apply here as when creating the Sweep.


Note:  TwistSpecification and Pitch must be set as properties if you want to use Pitch.


Functions
Example
//Create Sweep of sketch1 along the path defined by sketch2 (from a different plane)
var sweep1 = agb.Sweep(agc.Add, ps1.Sk1, ps2.Sketch2, agc.AlignTangent,
1.0, 0.0, agc.No, 0.0, 0.0);
agb.Regen(); //To insure model validity

//Now make some changes to the Sweep
//Change its name, ending scale, do a full turn and make it walled
sweep1.Name = "OvalSweep";
sweep1.Scale = 0.1;
sweep1.Turns = 1.0;
sweep1.Walled = agc.Yes;
sweep1.Thin1 = 0.0;
sweep1.Thin2 = 1.0;
agb.Regen(); //To process the changes and insure model validity

Release 18.2 - © ANSYS, Inc. All rights reserved.