Hide Table of Contents
CreateLoftSurface Method (IModeler)

Creates a loft surface.

.NET Syntax

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