Hide Table of Contents
SetFreeformCurveData Method (IFeatureManager)

Adds a curve to the pre-selected face for a Freeform feature.

.NET Syntax

Visual Basic (Declaration) 
Sub SetFreeformCurveData( _
   ByVal Direction As System.Short, _
   ByVal CurveParameter As System.Double, _
   ByVal Tangent0X As System.Double, _
   ByVal Tangent0Y As System.Double, _
   ByVal Tangent0Z As System.Double, _
   ByVal Tangent1X As System.Double, _
   ByVal Tangent1Y As System.Double, _
   ByVal Tangent1Z As System.Double _
) 
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Direction As System.Short
Dim CurveParameter As System.Double
Dim Tangent0X As System.Double
Dim Tangent0Y As System.Double
Dim Tangent0Z As System.Double
Dim Tangent1X As System.Double
Dim Tangent1Y As System.Double
Dim Tangent1Z As System.Double
 
instance.SetFreeformCurveData(Direction, CurveParameter, Tangent0X, Tangent0Y, Tangent0Z, Tangent1X, Tangent1Y, Tangent1Z)
C# 
void SetFreeformCurveData( 
   System.short Direction,
   System.double CurveParameter,
   System.double Tangent0X,
   System.double Tangent0Y,
   System.double Tangent0Z,
   System.double Tangent1X,
   System.double Tangent1Y,
   System.double Tangent1Z
)
C++/CLI 
void SetFreeformCurveData( 
&   System.short Direction,
&   System.double CurveParameter,
&   System.double Tangent0X,
&   System.double Tangent0Y,
&   System.double Tangent0Z,
&   System.double Tangent1X,
&   System.double Tangent1Y,
&   System.double Tangent1Z
) 

Parameters

Direction

Direction of the curve; valid values are either 0 or 1

CurveParameter

Where on the face to add the curve; valid values are between 0 and 1

Tangent0X
Tangent vector at one end of curve
Tangent0Y
Tangent vector at one end of curve
Tangent0Z
Tangent vector at one end of curve
Tangent1X
Tangent vector at other end of curve
Tangent1Y
Tangent vector at other end of curve
Tangent1Z
Tangent vector at other end of curve

Remarks

The SOLIDWORKS API Freeform-related methods are intended to journal the actions performed by an interactive user while creating the feature. Because user interaction is required to create a Freeform feature, fully automating the creation of it is not possible using the SOLIDWORKS API.

 

The typical steps performed by an interactive user to create a Freeform feature are:

 

  1. Select the face to form. 

  2. Add curves on the selected face. Corresponds to IFeatureManager::SetFreeformCurveData.

  3. Add points on the curves. Corresponds to IFeatureManager::SetFreeformPointData.

  4. Specify boundary continuity. Corresponds to IFeatureManager::SetFreeformBoundaryContinuity.

    Interactively pull or push the points to change the shape of the selected face.
     

  5. Insert the Freeform feature. Corresponds to this method, IFeatureManager::InsertFreeform2.

Record a macro while interactively creating a Freeform feature, then examine the macro to see the order in which the Freeform-related methods are recorded.

 

See Also

Availability

SOLIDWORKS 2007 FCS, Revision Number 15.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:   SetFreeformCurveData Method (IFeatureManager)
*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) 2015 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.