Hide Table of Contents
CreateLoftSurface Method (IModeler)

Creates a loft surface.

.NET Syntax

Visual Basic (Declaration) 
Function CreateLoftSurface( _
   ByVal CurveArray As Object, _
   ByVal BBlendClosed As Boolean, _
   ByVal BForceCubic As Boolean, _
   ByVal GuideCrvArray As Object, _
   ByVal StartMatchingType As Integer, _
   ByVal EndMatchingType As Integer, _
   ByVal NormalAtStartSection As Object, _
   ByVal NormalAtEndSection As Object, _
   ByVal StartMatchingFaceList As Object, _
   ByVal EndMatchingFaceList As Object, _
   ByVal DegeneratedStart As Boolean, _
   ByVal DegeneratedEnd As Boolean, _
   ByVal StartPointOfStartSection As Object, _
   ByVal StartPointOfEndSection As Object, _
   ByVal SectionIndexStart As Integer, _
   ByVal SectionIndexEnd As Integer, _
   ByVal GuideIndexStart As Integer, _
   ByVal GuideIndexEnd As Integer _
) As Object
Visual Basic (Usage) 
Dim instance As IModeler
Dim CurveArray As Object
Dim BBlendClosed As Boolean
Dim BForceCubic As Boolean
Dim GuideCrvArray As Object
Dim StartMatchingType As Integer
Dim EndMatchingType As Integer
Dim NormalAtStartSection As Object
Dim NormalAtEndSection As Object
Dim StartMatchingFaceList As Object
Dim EndMatchingFaceList As Object
Dim DegeneratedStart As Boolean
Dim DegeneratedEnd As Boolean
Dim StartPointOfStartSection As Object
Dim StartPointOfEndSection As Object
Dim SectionIndexStart As Integer
Dim SectionIndexEnd As Integer
Dim GuideIndexStart As Integer
Dim GuideIndexEnd As Integer
Dim value As Object
 
value = instance.CreateLoftSurface(CurveArray, BBlendClosed, BForceCubic, GuideCrvArray, StartMatchingType, EndMatchingType, NormalAtStartSection, NormalAtEndSection, StartMatchingFaceList, EndMatchingFaceList, DegeneratedStart, DegeneratedEnd, StartPointOfStartSection, StartPointOfEndSection, SectionIndexStart, SectionIndexEnd, GuideIndexStart, GuideIndexEnd)
C# 
object CreateLoftSurface( 
   object CurveArray,
   bool BBlendClosed,
   bool BForceCubic,
   object GuideCrvArray,
   int StartMatchingType,
   int EndMatchingType,
   object NormalAtStartSection,
   object NormalAtEndSection,
   object StartMatchingFaceList,
   object EndMatchingFaceList,
   bool DegeneratedStart,
   bool DegeneratedEnd,
   object StartPointOfStartSection,
   object StartPointOfEndSection,
   int SectionIndexStart,
   int SectionIndexEnd,
   int GuideIndexStart,
   int GuideIndexEnd
)
C++/CLI 
Object^ CreateLoftSurface( 
&   Object^ CurveArray,
&   bool BBlendClosed,
&   bool BForceCubic,
&   Object^ GuideCrvArray,
&   int StartMatchingType,
&   int EndMatchingType,
&   Object^ NormalAtStartSection,
&   Object^ NormalAtEndSection,
&   Object^ StartMatchingFaceList,
&   Object^ EndMatchingFaceList,
&   bool DegeneratedStart,
&   bool DegeneratedEnd,
&   Object^ StartPointOfStartSection,
&   Object^ StartPointOfEndSection,
&   int SectionIndexStart,
&   int SectionIndexEnd,
&   int GuideIndexStart,
&   int GuideIndexEnd
) 

Parameters

CurveArray
Array of b-spline curves
BBlendClosed

True if blend closed, false if not

BForceCubic

True if force surface is cubic, false if not

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 Nothing
NormalAtEndSection
Normal at start section when EndMatchingType is MATCH_NORMAL or MATCH_VECTOR; otherwise, can be Nothing
StartMatchingFaceList
Array of matching faces at start section when startMatchingType is MATCH_ALL_FACES, MATCH_FACE_G1, or MATCH_FACE_G2; otherwise, can be Nothing
EndMatchingFaceList
Array of matching faces at end section when startMatchingType is MATCH_ALL_FACES, MATCH_FACE_G1, or MATCH_FACE_G2; otherwise, can be Nothing
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

Return Value

Newly created loft surface
 

See Also

Availability

SolidWorks 2006 FCS, Revision Numbers 14.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:   CreateLoftSurface 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) 2012 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.