Hide Table of Contents
ICreateLoftSurface Method (IModeler)

Creates a loft surface.

.NET Syntax

Visual Basic (Declaration) 
Function ICreateLoftSurface( _
   ByVal NCurves As System.Integer, _
   ByRef CurveArray As Curve, _
   ByVal BBlendClosed As System.Boolean, _
   ByVal BForceCubic As System.Boolean, _
   ByVal NGuides As System.Integer, _
   ByRef GuideCrvArray As Curve, _
   ByVal StartMatchingType As System.Integer, _
   ByVal EndMatchingType As System.Integer, _
   ByVal NormalAtStartSection As MathVector, _
   ByVal NormalAtEndSection As MathVector, _
   ByVal NStartMatchingFaces As System.Integer, _
   ByRef StartMatchingFaceList As Face2, _
   ByVal NEndMatchingFaces As System.Integer, _
   ByRef EndMatchingFaceList As Face2, _
   ByVal DegeneratedStart As System.Boolean, _
   ByVal DegeneratedEnd As System.Boolean, _
   ByVal StartPointOfStartSection As MathPoint, _
   ByVal StartPointOfEndSection As MathPoint, _
   ByVal SectionIndexStart As System.Integer, _
   ByVal SectionIndexEnd As System.Integer, _
   ByVal GuideIndexStart As System.Integer, _
   ByVal GuideIndexEnd As System.Integer _
) As Surface
Visual Basic (Usage) 
Dim instance As IModeler
Dim NCurves As System.Integer
Dim CurveArray As Curve
Dim BBlendClosed As System.Boolean
Dim BForceCubic As System.Boolean
Dim NGuides As System.Integer
Dim GuideCrvArray As Curve
Dim StartMatchingType As System.Integer
Dim EndMatchingType As System.Integer
Dim NormalAtStartSection As MathVector
Dim NormalAtEndSection As MathVector
Dim NStartMatchingFaces As System.Integer
Dim StartMatchingFaceList As Face2
Dim NEndMatchingFaces As System.Integer
Dim EndMatchingFaceList As Face2
Dim DegeneratedStart As System.Boolean
Dim DegeneratedEnd As System.Boolean
Dim StartPointOfStartSection As MathPoint
Dim StartPointOfEndSection As MathPoint
Dim SectionIndexStart As System.Integer
Dim SectionIndexEnd As System.Integer
Dim GuideIndexStart As System.Integer
Dim GuideIndexEnd As System.Integer
Dim value As Surface
 
value = instance.ICreateLoftSurface(NCurves, CurveArray, BBlendClosed, BForceCubic, NGuides, GuideCrvArray, StartMatchingType, EndMatchingType, NormalAtStartSection, NormalAtEndSection, NStartMatchingFaces, StartMatchingFaceList, NEndMatchingFaces, EndMatchingFaceList, DegeneratedStart, DegeneratedEnd, StartPointOfStartSection, StartPointOfEndSection, SectionIndexStart, SectionIndexEnd, GuideIndexStart, GuideIndexEnd)
C# 
Surface ICreateLoftSurface( 
   System.int NCurves,
   ref Curve CurveArray,
   System.bool BBlendClosed,
   System.bool BForceCubic,
   System.int NGuides,
   ref Curve GuideCrvArray,
   System.int StartMatchingType,
   System.int EndMatchingType,
   MathVector NormalAtStartSection,
   MathVector NormalAtEndSection,
   System.int NStartMatchingFaces,
   ref Face2 StartMatchingFaceList,
   System.int NEndMatchingFaces,
   ref Face2 EndMatchingFaceList,
   System.bool DegeneratedStart,
   System.bool DegeneratedEnd,
   MathPoint StartPointOfStartSection,
   MathPoint StartPointOfEndSection,
   System.int SectionIndexStart,
   System.int SectionIndexEnd,
   System.int GuideIndexStart,
   System.int GuideIndexEnd
)
C++/CLI 
Surface^ ICreateLoftSurface( 
&   System.int NCurves,
&   Curve^% CurveArray,
&   System.bool BBlendClosed,
&   System.bool BForceCubic,
&   System.int NGuides,
&   Curve^% GuideCrvArray,
&   System.int StartMatchingType,
&   System.int EndMatchingType,
&   MathVector^ NormalAtStartSection,
&   MathVector^ NormalAtEndSection,
&   System.int NStartMatchingFaces,
&   Face2^% StartMatchingFaceList,
&   System.int NEndMatchingFaces,
&   Face2^% EndMatchingFaceList,
&   System.bool DegeneratedStart,
&   System.bool DegeneratedEnd,
&   MathPoint^ StartPointOfStartSection,
&   MathPoint^ StartPointOfEndSection,
&   System.int SectionIndexStart,
&   System.int SectionIndexEnd,
&   System.int GuideIndexStart,
&   System.int GuideIndexEnd
) 

Parameters

NCurves
Number of B-spline curves
CurveArray
Array of b-spline curves
BBlendClosed
True if blend closed, false if not
BForceCubic
True if force surface is cubic, false if not
NGuides
Number of guide curves
GuideCrvArray
Array of guide curves
StartMatchingType

Start matching type:

  • 0 = MATCH_NONE (default)

  • 1 = MATCH_NORMAL

  • 2 = MATCH_VECTOR

  • 3 = MATCH_ALL_FACES or MATCH_FACE_G1

  • 4 = MATCH_FACE_G2

EndMatchingType

End matching type:

  • 0 = MATCH_NONE (default)

  • 1 = MATCH_NORMAL

  • 2 = MATCH_VECTOR

  • 3 = MATCH_ALL_FACES or MATCH_FACE_G1

  • 4 = MATCH_FACE_G2

NormalAtStartSection
Normal at start section when StartMatchingType is MATCH_NORMAL or MATCH_VECTOR; otherwise, can be NULL
NormalAtEndSection
Array of matching faces at end section when startMatchingType is MATCH_ALL_FACES, MATCH_FACE_G1, or MATCH_FACE_G2; otherwise, can be NULL
NStartMatchingFaces
Number of matching faces at start section when startMatchingType is MATCH_ALL_FACES, MATCH_FACE_G1, or MATCH_FACE_G2; otherwise, can be 0
StartMatchingFaceList
Array of matching faces at start section when startMatchingType is MATCH_ALL_FACES, MATCH_FACE_G1, or MATCH_FACE_G2; otherwise, can be NULL
NEndMatchingFaces
Number of matching faces at end section when startMatchingType is MATCH_ALL_FACES, MATCH_FACE_G1, or MATCH_FACE_G2; otherwise, can be 0
EndMatchingFaceList
Array of matching faces at end section when startMatchingType is MATCH_ALL_FACES, MATCH_FACE_G1, or MATCH_FACE_G2; otherwise, can be NULL
DegeneratedStart
True to degenerate at start, false to not
DegeneratedEnd
True to degenerate at end, false to not
StartPointOfStartSection
Start point of start section
StartPointOfEndSection
Start point of end section
SectionIndexStart
Index of start section; default is -1
SectionIndexEnd
Index of end section; default is -1
GuideIndexStart
Index of start guide curve; default is -1
GuideIndexEnd
Index of end guide curve; default is -1
 

See Also



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:   ICreateLoftSurface Method (IModeler)
*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) 2017 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.