Hide Table of Contents
DraftXpertChange Method (IFeatureManager)

Changes the parameters on the selected drafted faces, regardless of whether the drafted faces were created manually or with DraftXpert, provided that DraftXpert can process them.

.NET Syntax

Visual Basic (Declaration) 
Function DraftXpertChange( _
   ByVal Angle As System.Double, _
   ByVal FlipDir As System.Boolean, _
   ByVal EdgeDraft As System.Boolean, _
   ByVal PropType As System.Integer, _
   ByVal IsStepDraft As System.Boolean, _
   ByVal IsBodyDraft As System.Boolean _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Angle As System.Double
Dim FlipDir As System.Boolean
Dim EdgeDraft As System.Boolean
Dim PropType As System.Integer
Dim IsStepDraft As System.Boolean
Dim IsBodyDraft As System.Boolean
Dim value As Feature
 
value = instance.DraftXpertChange(Angle, FlipDir, EdgeDraft, PropType, IsStepDraft, IsBodyDraft)
C# 
Feature DraftXpertChange( 
   System.double Angle,
   System.bool FlipDir,
   System.bool EdgeDraft,
   System.int PropType,
   System.bool IsStepDraft,
   System.bool IsBodyDraft
)
C++/CLI 
Feature^ DraftXpertChange( 
&   System.double Angle,
&   System.bool FlipDir,
&   System.bool EdgeDraft,
&   System.int PropType,
&   System.bool IsStepDraft,
&   System.bool IsBodyDraft
) 

Parameters

Angle
Draft angle in radians
FlipDir

True to flip the direction of the draft (the draft direction is determined by the selected direction, which could be a planar face, a reference plane, an edge, or two vertices; if you refer to the last argument in IModelDocExtension::SelectByID2, then these items have a selection mark of 1; the faces to draft have a selection mark of 2, and the draft edges have a selection mark of 4), false to not

EdgeDraft

True if this is an edge draft and the user selects edges to draft, false if this is a face draft and the user selects faces to draft (SOLIDWORKS automatically selects the faces next to the edge to be drafted)

PropType
Propagation type:
  • 0 = no propagation

  • 1 = propagate to the next tangent faces that share the base neutral plane; valid for edge draft or neutral plane draft

  • 2 = propagate to all faces that are a neighbor of the neutral plane

  • 3 = propagate to all faces that a neighbor of the neutral plane on all inner loops (for example, all faces of a pocket or a boss)

  • 4 = propagate to all faces that are a neighbor of the neutral plane on the outer loop (for example, the sides of a box with the bottom face as the neutral plane)

IsStepDraft
True if the draft is a step draft, false if not
IsBodyDraft
True if the draft is a body draft, false if not

Return Value

Pointer to the modified draft feature
 

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:   DraftXpertChange Method (IFeatureManager)
*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) 2015 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.