Hide Table of Contents
SetEquationParameters2 Method (ISketchSpline)

Sets an equation-driven curve's parameters.

.NET Syntax

Visual Basic (Declaration) 
Function SetEquationParameters2( _
   ByVal XExpression As System.String, _
   ByVal YExpression As System.String, _
   ByVal ZExpression As System.String, _
   ByVal RangeStart As System.Double, _
   ByVal RangeEnd As System.Double, _
   ByVal IsAngleRange As System.Boolean, _
   ByVal RotationAngle As System.Double, _
   ByVal XOffset As System.Double, _
   ByVal YOffset As System.Double, _
   ByVal LockStart As System.Boolean, _
   ByVal LockEnd As System.Boolean _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As ISketchSpline
Dim XExpression As System.String
Dim YExpression As System.String
Dim ZExpression As System.String
Dim RangeStart As System.Double
Dim RangeEnd As System.Double
Dim IsAngleRange As System.Boolean
Dim RotationAngle As System.Double
Dim XOffset As System.Double
Dim YOffset As System.Double
Dim LockStart As System.Boolean
Dim LockEnd As System.Boolean
Dim value As System.Boolean
 
value = instance.SetEquationParameters2(XExpression, YExpression, ZExpression, RangeStart, RangeEnd, IsAngleRange, RotationAngle, XOffset, YOffset, LockStart, LockEnd)
C# 
System.bool SetEquationParameters2( 
   System.string XExpression,
   System.string YExpression,
   System.string ZExpression,
   System.double RangeStart,
   System.double RangeEnd,
   System.bool IsAngleRange,
   System.double RotationAngle,
   System.double XOffset,
   System.double YOffset,
   System.bool LockStart,
   System.bool LockEnd
)
C++/CLI 
System.bool SetEquationParameters2( 
&   System.String^ XExpression,
&   System.String^ YExpression,
&   System.String^ ZExpression,
&   System.double RangeStart,
&   System.double RangeEnd,
&   System.bool IsAngleRange,
&   System.double RotationAngle,
&   System.double XOffset,
&   System.double YOffset,
&   System.bool LockStart,
&   System.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) 2019 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.