Hide Table of Contents
SetFreeformPointData Method (IFeatureManager)

Adds a point to a curve for a Freeform feature.

.NET Syntax

Visual Basic (Declaration) 
Sub SetFreeformPointData( _
   ByVal Direction As System.Short, _
   ByVal CurveParameter As System.Double, _
   ByVal ParameterOnCurve As System.Double, _
   ByVal XOffset As System.Double, _
   ByVal YOffset As System.Double, _
   ByVal ZOffset As System.Double _
) 
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Direction As System.Short
Dim CurveParameter As System.Double
Dim ParameterOnCurve As System.Double
Dim XOffset As System.Double
Dim YOffset As System.Double
Dim ZOffset As System.Double
 
instance.SetFreeformPointData(Direction, CurveParameter, ParameterOnCurve, XOffset, YOffset, ZOffset)
C# 
void SetFreeformPointData( 
   System.short Direction,
   System.double CurveParameter,
   System.double ParameterOnCurve,
   System.double XOffset,
   System.double YOffset,
   System.double ZOffset
)
C++/CLI 
void SetFreeformPointData( 
&   System.short Direction,
&   System.double CurveParameter,
&   System.double ParameterOnCurve,
&   System.double XOffset,
&   System.double YOffset,
&   System.double ZOffset
) 

Parameters

Direction
Direction of the curve; valid values are either 0 or 1
CurveParameter
Curve where to add the point
ParameterOnCurve
Where on the curve to add the point
XOffset
Value by which to offset x (this value is typically 0, which indicates that the point
was not modified)
YOffset
Value by which to offset y (this value is typically 0, which indicates that the point
was not modified)
ZOffset
Value by which to offset z (this value is typically 0, which indicates that the point
was not modified)

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:   SetFreeformPointData 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) 2014 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.