Sets an equation-driven curve's parameters.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetEquationParameters2( _
ByVal XExpression As String, _
ByVal YExpression As String, _
ByVal ZExpression As String, _
ByVal RangeStart As Double, _
ByVal RangeEnd As Double, _
ByVal IsAngleRange As Boolean, _
ByVal RotationAngle As Double, _
ByVal XOffset As Double, _
ByVal YOffset As Double, _
ByVal LockStart As Boolean, _
ByVal LockEnd As Boolean _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISketchSpline
Dim XExpression As String
Dim YExpression As String
Dim ZExpression As String
Dim RangeStart As Double
Dim RangeEnd As Double
Dim IsAngleRange As Boolean
Dim RotationAngle As Double
Dim XOffset As Double
Dim YOffset As Double
Dim LockStart As Boolean
Dim LockEnd As Boolean
Dim value As Boolean
value = instance.SetEquationParameters2(XExpression, YExpression, ZExpression, RangeStart, RangeEnd, IsAngleRange, RotationAngle, XOffset, YOffset, LockStart, LockEnd)
|
C# | |
---|
bool SetEquationParameters2(
string XExpression,
string YExpression,
string ZExpression,
double RangeStart,
double RangeEnd,
bool IsAngleRange,
double RotationAngle,
double XOffset,
double YOffset,
bool LockStart,
bool LockEnd
) |
C++/CLI | |
---|
bool SetEquationParameters2(
& String^ XExpression,
& String^ YExpression,
& String^ ZExpression,
& double RangeStart,
& double RangeEnd,
& bool IsAngleRange,
& double RotationAngle,
& double XOffset,
& double YOffset,
& bool LockStart,
& bool LockEnd
) |
Parameters
- XExpression
- Equation for x
- YExpression
- Equation for y
- ZExpression
- Equation for z
- RangeStart
- Start value of x
- RangeEnd
- End value of x
- IsAngleRange
- True if the range and x value represent an angle (in radians), false if not
- RotationAngle
- Rotation angle (in radians) for the curve
- XOffset
- Offset in x for f(x), where x = 0
- YOffset
- Offset in y for f(x), where x = 0
- LockStart
- True to lock the start point (RangeStart) of the curve, false to not
- LockEnd
- True to lock the end point (RangeEnd) of the curve, false to not
Return Value
True if the equation-driven curve's parameters are set, false if not
See Also
Availability
SolidWorks 2010 FCS, Revision Number 18.0