Hide Table of Contents
InsertRib2 Method (IModelDoc2)

Obsolete. Superseded by IFeatureManager::InsertRib.

.NET Syntax

Visual Basic (Declaration) 
Sub InsertRib2( _
   ByVal Is2Sided As Boolean, _
   ByVal ReverseThicknessDir As Boolean, _
   ByVal Thickness As Double, _
   ByVal ReferenceEdgeIndex As Integer, _
   ByVal ReverseMaterialDir As Boolean, _
   ByVal IsDrafted As Boolean, _
   ByVal DraftOutward As Boolean, _
   ByVal DraftAngle As Double, _
   ByVal IsNormToSketch As Boolean _
) 
Visual Basic (Usage) 
Dim instance As IModelDoc2
Dim Is2Sided As Boolean
Dim ReverseThicknessDir As Boolean
Dim Thickness As Double
Dim ReferenceEdgeIndex As Integer
Dim ReverseMaterialDir As Boolean
Dim IsDrafted As Boolean
Dim DraftOutward As Boolean
Dim DraftAngle As Double
Dim IsNormToSketch As Boolean
 
instance.InsertRib2(Is2Sided, ReverseThicknessDir, Thickness, ReferenceEdgeIndex, ReverseMaterialDir, IsDrafted, DraftOutward, DraftAngle, IsNormToSketch)
C# 
void InsertRib2( 
   bool Is2Sided,
   bool ReverseThicknessDir,
   double Thickness,
   int ReferenceEdgeIndex,
   bool ReverseMaterialDir,
   bool IsDrafted,
   bool DraftOutward,
   double DraftAngle,
   bool IsNormToSketch
)
C++/CLI 
void InsertRib2( 
&   bool Is2Sided,
&   bool ReverseThicknessDir,
&   double Thickness,
&   int ReferenceEdgeIndex,
&   bool ReverseMaterialDir,
&   bool IsDrafted,
&   bool DraftOutward,
&   double DraftAngle,
&   bool IsNormToSketch
) 

Parameters

Is2Sided

True if the rib is double-sided rib, false if the rib is single sided; a double-sided rib thickens on both sides of the sketch

ReverseThicknessDir

For single-sided ribs, the direction thickened is the opposite side of the sketch normal

Thickness

Rib thickness

ReferenceEdgeIndex

Edge in the sketch to us to determine the material direction and for draft reference; when the rib is drafted, the mid point of this edge maintains the thickness value; other points on the rib may have a different thickness due to the draft

ReverseMaterialDir

Which direction the rib has material; it is on one side or the order side of the reference edge base on this flag

IsDrafted

True if the rib is drafted, false if not

DraftOutward

True to draft outwards, false to not

DraftAngle

Draft angle to apply to the rib

IsNormToSketch

True if the rib is normal to the sketch, false if the rib is parallel to the sketch

Remarks

This method supports multibody parts. You must select the input body by calling IModelDocExtension::SelectByID2 and setting its Mark argument to 1 before calling this method.

 

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:   InsertRib2 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) 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.