Hide Table of Contents
InsertLoftRefSurface2 Method (IModelDoc2)

Creates a loft surface from the selected profiles, centerline, and guide curves.

.NET Syntax

Visual Basic (Declaration) 
Sub InsertLoftRefSurface2( _
   ByVal Closed As System.Boolean, _
   ByVal KeepTangency As System.Boolean, _
   ByVal ForceNonRational As System.Boolean, _
   ByVal TessToleranceFactor As System.Double, _
   ByVal StartMatchingType As System.Short, _
   ByVal EndMatchingType As System.Short _
) 
Visual Basic (Usage) 
Dim instance As IModelDoc2
Dim Closed As System.Boolean
Dim KeepTangency As System.Boolean
Dim ForceNonRational As System.Boolean
Dim TessToleranceFactor As System.Double
Dim StartMatchingType As System.Short
Dim EndMatchingType As System.Short
 
instance.InsertLoftRefSurface2(Closed, KeepTangency, ForceNonRational, TessToleranceFactor, StartMatchingType, EndMatchingType)
C# 
void InsertLoftRefSurface2( 
   System.bool Closed,
   System.bool KeepTangency,
   System.bool ForceNonRational,
   System.double TessToleranceFactor,
   System.short StartMatchingType,
   System.short EndMatchingType
)
C++/CLI 
void InsertLoftRefSurface2( 
&   System.bool Closed,
&   System.bool KeepTangency,
&   System.bool ForceNonRational,
&   System.double TessToleranceFactor,
&   System.short StartMatchingType,
&   System.short EndMatchingType
) 

Parameters

Closed
True for closed loft, false for open loft; if True, then you must have at least three profiles selected, and if you are using guide curves, the guide curves must be closed
KeepTangency
If the section curves are tangent, then you have the option to specify whether the resulting surfaces are also be tangent; specify True to maintain the tangency as seen in the section curves, false otherwise; when generating tangent surfaces, SOLIDWORKS maintains planar and cylindrical surface shapes if the section curves exhibit these characteristics
ForceNonRational

True to force the resulting surface to be non-rational, false to not

TessToleranceFactor

Factor to control the number of intermediate sections used for loft with centerline; default value is 1.0; the greater the variable, the more intermediate sections created

StartMatchingType

Tangency type at the start profile (see Remarks)

EndMatchingType

Tangency type at the end profile (see Remarks)

Remarks

Selection of guide curves and centerline is optional; however, selection of the profiles must be in an order consistent with the desired direction of the loft. Because you are creating a surface, the section profiles can be open.

Use of guide curves is strongly recommended, especially when selection of profiles is done in the FeatureManager design tree.

You can use any number of profiles; however, if you have selected only one profile, then any selected guide curves must be closed curves.

Use IModelDocExtension::SelectByID2 to select the profiles and guide curves. The mark for:

  • profile selections should be 1

  • any guide curve selection, if provided, should be 2

  • centerline selection, if provided, should be 4

  • start tangency vector selection, if provided, should be an 8

  • start tangency faces selection, if provided, should be a 16 (not available currently

  • end tangency vector selection, if provided, should be a 32

  • end tangency faces selection, if provided, should be a 64 (not available currently)

Linear edge, sketch line, axis, plane and planar faces are qualified for tangency vector sections.

The tangency types can be one of the following:

0  =

none

1  =

tangent to the normal of the profile

2  =

tangent to a selected vector

3  =

tangency to all the adjacent faces sharing an edge with the start profile

4  =

tangent to some of the selected faces sharing an edge with the start profile (not available at this moment).

 

See Also

Availability

SOLIDWORKS 2001Plus FCS, Revision Number 10.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:   InsertLoftRefSurface2 Method (IModelDoc2)
*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) 2016 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.