Hide Table of Contents
InsertRib2 Method (IModelDoc2)

Obsolete. Superseded by IFeatureManager::InsertRib.

.NET Syntax

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