Hide Table of Contents
CreateSketchBelt Method (ISketchManager)

Creates a sketch belt feature.

.NET Syntax

Visual Basic (Declaration) 
Function CreateSketchBelt( _
   ByVal Length As Double, _
   ByVal Thickness As Double, _
   ByVal Engage As Integer, _
   ByVal PulleyCount As Integer, _
   ByVal Side1 As Integer, _
   ByVal Side2 As Integer, _
   ByVal Side3 As Integer, _
   ByVal Side4 As Integer, _
   ByVal Side5 As Integer, _
   ByVal Side6 As Integer, _
   ByVal Side7 As Integer, _
   ByVal Side8 As Integer, _
   ByVal Side9 As Integer, _
   ByVal Side10 As Integer, _
   ByVal Side11 As Integer, _
   ByVal Side12 As Integer _
) As Boolean
Visual Basic (Usage) 
Dim instance As ISketchManager
Dim Length As Double
Dim Thickness As Double
Dim Engage As Integer
Dim PulleyCount As Integer
Dim Side1 As Integer
Dim Side2 As Integer
Dim Side3 As Integer
Dim Side4 As Integer
Dim Side5 As Integer
Dim Side6 As Integer
Dim Side7 As Integer
Dim Side8 As Integer
Dim Side9 As Integer
Dim Side10 As Integer
Dim Side11 As Integer
Dim Side12 As Integer
Dim value As Boolean
 
value = instance.CreateSketchBelt(Length, Thickness, Engage, PulleyCount, Side1, Side2, Side3, Side4, Side5, Side6, Side7, Side8, Side9, Side10, Side11, Side12)
C# 
bool CreateSketchBelt( 
   double Length,
   double Thickness,
   int Engage,
   int PulleyCount,
   int Side1,
   int Side2,
   int Side3,
   int Side4,
   int Side5,
   int Side6,
   int Side7,
   int Side8,
   int Side9,
   int Side10,
   int Side11,
   int Side12
)
C++/CLI 
bool CreateSketchBelt( 
&   double Length,
&   double Thickness,
&   int Engage,
&   int PulleyCount,
&   int Side1,
&   int Side2,
&   int Side3,
&   int Side4,
&   int Side5,
&   int Side6,
&   int Side7,
&   int Side8,
&   int Side9,
&   int Side10,
&   int Side11,
&   int Side12
) 

Parameters

Length
Length of the belt
Thickness
Thickness of the belt
Engage
1 to engage the belt, 0 to not
PulleyCount
Number of pulley components
Side1

Place the belt for the corresponding pulley component :

  • 0 = inside
  • 1 = outside
Side2
Place the belt for the corresponding pulley component:
  • 0 = inside

  • 1 = outside

Side3

Place the belt for the corresponding pulley component:

  • 0 = inside

  • 1 = outside

Side4

Place the belt for the corresponding pulley component:

  • 0 = inside

  • 1 = outside

Side5
Place the belt for the corresponding pulley component:
  • 0 = inside

  • 1 = outside

Side6

Place the belt for the corresponding pulley component:

  • 0 = inside

  • 1 = outside

Side7
Place the belt for the corresponding pulley component:
  • 0 = inside

  • 1 = outside

Side8
Place the belt for the corresponding pulley component:
  • 0 = inside

  • 1 = outside

Side9

Place the belt for the corresponding pulley component:

  • 0 = inside

  • 1 = outside

Side10
Place the belt for the corresponding pulley component:
  • 0 = inside

  • 1 = outside

Side11
Place the belt for the corresponding pulley component:
  • 0 = inside

  • 1 = outside

Side12

Place the belt for the corresponding pulley component:

  • 0 = inside

  • 1 = outside

Return Value

True the belt is created, false if not

Remarks

The order of the sides corresponds to the order of the pulleys in the selection list. For example Side1 indicates on which side of the first pulley component in the selection list you want the belt placed.  If only four pulley components exist in the sketch, then Side5 - Side12 are ignored. This method limits you to 12 pulleys.

 

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:   CreateSketchBelt Method (ISketchManager)
*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) 2010 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.