Hide Table of Contents
SetEquationParameters2 Method (ISketchSpline)

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


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   SetEquationParameters2 Method (ISketchSpline)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2011 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.